1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-01 01:49:30 +00:00

[niconico:playlist] Use the same video url the webpage uses (closes #4133)

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-11-08 14:53:23 +01:00
parent 29ed169cd6
commit 2fdbf27ad8

View file

@ -175,7 +175,8 @@ class NiconicoPlaylistIE(InfoExtractor):
entries = [{ entries = [{
'_type': 'url', '_type': 'url',
'ie_key': NiconicoIE.ie_key(), 'ie_key': NiconicoIE.ie_key(),
'url': 'http://www.nicovideo.jp/watch/%s' % entry['item_id'], 'url': ('http://www.nicovideo.jp/watch/%s' %
entry['item_data']['video_id']),
} for entry in entries] } for entry in entries]
return { return {