mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 10:24:33 +01:00
[niconico] Extract playlist uploader_id
This commit is contained in:
parent
cf34132114
commit
a38e2615bf
@ -444,6 +444,7 @@ class NiconicoPlaylistIE(InfoExtractor):
|
|||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '27411728',
|
'id': '27411728',
|
||||||
'title': 'AKB48のオールナイトニッポン',
|
'title': 'AKB48のオールナイトニッポン',
|
||||||
|
'uploader_id': '805442',
|
||||||
'uploader': 'のっく',
|
'uploader': 'のっく',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 225,
|
'playlist_mincount': 225,
|
||||||
@ -466,6 +467,7 @@ class NiconicoPlaylistIE(InfoExtractor):
|
|||||||
return {
|
return {
|
||||||
'_type': 'playlist',
|
'_type': 'playlist',
|
||||||
'title': self._search_regex(r'\s+name: "(.*?)"', webpage, 'title'),
|
'title': self._search_regex(r'\s+name: "(.*?)"', webpage, 'title'),
|
||||||
|
'uploader_id': self._search_regex(r'\s+user_id: ([0-9]+)', webpage, 'uploader_id'),
|
||||||
'uploader': self._search_regex(r'\s+nickname: "(.*?)"', webpage, 'uploader'),
|
'uploader': self._search_regex(r'\s+nickname: "(.*?)"', webpage, 'uploader'),
|
||||||
'id': list_id,
|
'id': list_id,
|
||||||
'entries': entries,
|
'entries': entries,
|
||||||
|
Loading…
Reference in New Issue
Block a user