aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-09-11 17:36:23 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-09-11 17:36:23 +0200
commit6a2449df3b6604377a1ff516cbf4e25dff1d5f35 (patch)
tree8c7ff596175bd4c58927f1f2161e7ebba8b2db1b
parent22c8b525458c8203c0709a523c646b8d152f03b0 (diff)
downloadyoutube-dl-6a2449df3b6604377a1ff516cbf4e25dff1d5f35.tar.xz
[howcast] Do not download from http://www.howcast.com/videos/{video_id}
It takes too much to follow the redirection.
-rw-r--r--youtube_dl/extractor/howcast.py3
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)