[niconico] Extract playlist uploader_id

This commit is contained in:
xxxx1110 2018-10-21 15:13:35 +09:00
parent cf34132114
commit a38e2615bf
1 changed files with 2 additions and 0 deletions

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,