1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-25 17:15:52 +01:00

fix nm video DL issue when logged in

This commit is contained in:
Todoroki 2015-03-18 22:24:17 +09:00
parent c3c5c31517
commit ee580538fa

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,