diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-11-24 06:53:50 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-11-24 06:53:50 +0100 |
commit | bd49928f7a0254eeb8d5f918c5649ce4eb78ef36 (patch) | |
tree | f50d7c9e0694f0db3fb43e730f4f502fa9a7e170 | |
parent | 23e6d50d73188eab26944e41f164a5a1ab7f547a (diff) |
[niconico] Clarify download
-rw-r--r-- | youtube_dl/extractor/niconico.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/niconico.py b/youtube_dl/extractor/niconico.py index 22898b5a1..729607ea3 100644 --- a/youtube_dl/extractor/niconico.py +++ b/youtube_dl/extractor/niconico.py @@ -77,9 +77,9 @@ class NiconicoIE(InfoExtractor): mobj = re.match(self._VALID_URL, url) video_id = mobj.group(1) - # Get video webpage - video_webpage = self._download_webpage( - 'http://www.nicovideo.jp/watch/' + video_id, video_id) + # Get video webpage. We are not actually interested in it, but need + # the cookies in order to be able to download the info webpage + self._download_webpage('http://www.nicovideo.jp/watch/' + video_id, video_id) video_info_webpage = self._download_webpage( 'http://ext.nicovideo.jp/api/getthumbinfo/' + video_id, video_id, |