1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

[niconico] Extract playlist uploader_id

This commit is contained in:
xxxx1110 2018-10-21 15:13:35 +09:00
parent cf34132114
commit a38e2615bf

View File

@ -444,6 +444,7 @@ class NiconicoPlaylistIE(InfoExtractor):
'info_dict': {
'id': '27411728',
'title': 'AKB48のオールナイトニッポン',
'uploader_id': '805442',
'uploader': 'のっく',
},
'playlist_mincount': 225,
@ -466,6 +467,7 @@ class NiconicoPlaylistIE(InfoExtractor):
return {
'_type': 'playlist',
'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'),
'id': list_id,
'entries': entries,