From: Jaime Marquínez Ferrándiz Date: Wed, 11 Sep 2013 15:36:23 +0000 (+0200) Subject: [howcast] Do not download from http://www.howcast.com/videos/{video_id} X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=6a2449df3b6604377a1ff516cbf4e25dff1d5f35;hp=22c8b525458c8203c0709a523c646b8d152f03b0;p=youtube-dl [howcast] Do not download from howcast.com/videos/{video_id} It takes too much to follow the redirection. --- diff --git a/youtube_dl/extractor/howcast.py b/youtube_dl/extractor/howcast.py index 6104c4b5e..46954337f 100644 --- a/youtube_dl/extractor/howcast.py +++ b/youtube_dl/extractor/howcast.py @@ -19,8 +19,7 @@ class HowcastIE(InfoExtractor): mobj = re.match(self._VALID_URL, url) video_id = mobj.group('id') - webpage_url = 'http://www.howcast.com/videos/' + video_id - webpage = self._download_webpage(webpage_url, video_id) + webpage = self._download_webpage(url, video_id) self.report_extraction(video_id)