diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-11-08 14:53:23 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-11-08 14:53:23 +0100 |
commit | 2fdbf27ad8f241c8f23b4a37683243a06903546d (patch) | |
tree | 198ce449f6f0805ec9e9fc0a8cb28a5f44fa44a8 /youtube_dl | |
parent | 29ed169cd63b3665a8fc4140eb698689bf656361 (diff) |
[niconico:playlist] Use the same video url the webpage uses (closes #4133)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/niconico.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/niconico.py b/youtube_dl/extractor/niconico.py index 45cbd4ee9..3b5784e8f 100644 --- a/youtube_dl/extractor/niconico.py +++ b/youtube_dl/extractor/niconico.py @@ -175,7 +175,8 @@ class NiconicoPlaylistIE(InfoExtractor): entries = [{ '_type': 'url', '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] return { |