Browse Source

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

master
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
2fdbf27ad8
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/niconico.py

3
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 {

Loading…
Cancel
Save