mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-22 17:22:52 +08:00
[howcast] Do not download from http://www.howcast.com/videos/{video_id}
It takes too much to follow the redirection.
This commit is contained in:
parent
22c8b52545
commit
6a2449df3b
@ -19,8 +19,7 @@ class HowcastIE(InfoExtractor):
|
|||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
|
|
||||||
video_id = mobj.group('id')
|
video_id = mobj.group('id')
|
||||||
webpage_url = 'http://www.howcast.com/videos/' + video_id
|
webpage = self._download_webpage(url, video_id)
|
||||||
webpage = self._download_webpage(webpage_url, video_id)
|
|
||||||
|
|
||||||
self.report_extraction(video_id)
|
self.report_extraction(video_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user