Browse Source

fix nm video DL issue when logged in

totalwebcasting
Todoroki 10 years ago
parent
commit
ee580538fa
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/niconico.py

+ 1
- 0
youtube_dl/extractor/niconico.py View File

@ -97,6 +97,7 @@ class NiconicoIE(InfoExtractor):
'http://ext.nicovideo.jp/thumb_watch/' + video_id, video_id) 'http://ext.nicovideo.jp/thumb_watch/' + video_id, video_id)
thumb_play_key = self._search_regex( thumb_play_key = self._search_regex(
r'\'thumbPlayKey\'\s*:\s*\'(.*?)\'', ext_player_info, 'thumbPlayKey') r'\'thumbPlayKey\'\s*:\s*\'(.*?)\'', ext_player_info, 'thumbPlayKey')
# Get flv info # Get flv info
flv_info_data = compat_urllib_parse.urlencode({ flv_info_data = compat_urllib_parse.urlencode({
'k': thumb_play_key, 'k': thumb_play_key,


Loading…
Cancel
Save