1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

[niconico] Extract playlist uploader

This commit is contained in:
xxxx1110 2018-10-13 12:07:36 +09:00
parent 5d90a8a5f3
commit cf34132114

View File

@ -444,6 +444,7 @@ class NiconicoPlaylistIE(InfoExtractor):
'info_dict': { 'info_dict': {
'id': '27411728', 'id': '27411728',
'title': 'AKB48のオールナイトニッポン', 'title': 'AKB48のオールナイトニッポン',
'uploader': 'のっく',
}, },
'playlist_mincount': 225, 'playlist_mincount': 225,
} }
@ -465,6 +466,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': self._search_regex(r'\s+nickname: "(.*?)"', webpage, 'uploader'),
'id': list_id, 'id': list_id,
'entries': entries, 'entries': entries,
} }