diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-09-11 17:36:23 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-09-11 17:36:23 +0200 |
commit | 6a2449df3b6604377a1ff516cbf4e25dff1d5f35 (patch) | |
tree | 8c7ff596175bd4c58927f1f2161e7ebba8b2db1b /youtube_dl/extractor | |
parent | 22c8b525458c8203c0709a523c646b8d152f03b0 (diff) |
[howcast] Do not download from http://www.howcast.com/videos/{video_id}
It takes too much to follow the redirection.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/howcast.py | 3 |
1 files changed, 1 insertions, 2 deletions
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) |