0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-17 01:25:11 +00: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 @@ def _real_extract(self, url):
'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,