diff options
author | Todoroki <[email protected]> | 2015-03-18 22:19:55 +0900 |
---|---|---|
committer | Todoroki <[email protected]> | 2015-03-18 22:19:55 +0900 |
commit | c3c5c31517ce121740666440a71becaba11176ac (patch) | |
tree | 250b8b73e9acbd76a78b266213a1d8f5a60bebb6 /youtube_dl/extractor/niconico.py | |
parent | ed9a25dd612fb06d9cf007a6491ac9982535a8f9 (diff) | |
download | youtube-dl-c3c5c31517ce121740666440a71becaba11176ac.tar.gz youtube-dl-c3c5c31517ce121740666440a71becaba11176ac.zip |
fix nm video DL issue when logged in
Diffstat (limited to 'youtube_dl/extractor/niconico.py')
-rw-r--r-- | youtube_dl/extractor/niconico.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/niconico.py b/youtube_dl/extractor/niconico.py index 7fb4e57df..a48df7f62 100644 --- a/youtube_dl/extractor/niconico.py +++ b/youtube_dl/extractor/niconico.py @@ -89,7 +89,7 @@ class NiconicoIE(InfoExtractor): if self._AUTHENTICATED: # Get flv info flv_info_webpage = self._download_webpage( - 'http://flapi.nicovideo.jp/api/getflv?v=' + video_id, + 'http://flapi.nicovideo.jp/api/getflv/' + video_id + '?as3=1', video_id, 'Downloading flv info') else: # Get external player info @@ -97,7 +97,6 @@ class NiconicoIE(InfoExtractor): 'http://ext.nicovideo.jp/thumb_watch/' + video_id, video_id) thumb_play_key = self._search_regex( r'\'thumbPlayKey\'\s*:\s*\'(.*?)\'', ext_player_info, 'thumbPlayKey') - # Get flv info flv_info_data = compat_urllib_parse.urlencode({ 'k': thumb_play_key, |