|
|
@ -77,9 +77,9 @@ class NiconicoIE(InfoExtractor):
|
|
|
|
mobj = re.match(self._VALID_URL, url)
|
|
|
|
mobj = re.match(self._VALID_URL, url)
|
|
|
|
video_id = mobj.group(1)
|
|
|
|
video_id = mobj.group(1)
|
|
|
|
|
|
|
|
|
|
|
|
# Get video webpage
|
|
|
|
# Get video webpage. We are not actually interested in it, but need
|
|
|
|
video_webpage = self._download_webpage(
|
|
|
|
# the cookies in order to be able to download the info webpage
|
|
|
|
'http://www.nicovideo.jp/watch/' + video_id, video_id)
|
|
|
|
self._download_webpage('http://www.nicovideo.jp/watch/' + video_id, video_id)
|
|
|
|
|
|
|
|
|
|
|
|
video_info_webpage = self._download_webpage(
|
|
|
|
video_info_webpage = self._download_webpage(
|
|
|
|
'http://ext.nicovideo.jp/api/getthumbinfo/' + video_id, video_id,
|
|
|
|
'http://ext.nicovideo.jp/api/getthumbinfo/' + video_id, video_id,
|
|
|
|