From: Jaime Marquínez Ferrándiz Date: Sat, 8 Nov 2014 13:53:23 +0000 (+0100) Subject: [niconico:playlist] Use the same video url the webpage uses (closes #4133) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2fdbf27ad8f241c8f23b4a37683243a06903546d;p=youtube-dl [niconico:playlist] Use the same video url the webpage uses (closes #4133) --- 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 {