mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
fix nm video DL issue when logged in
This commit is contained in:
parent
c3c5c31517
commit
ee580538fa
|
@ -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…
Reference in a new issue