Browse Source

[howcast] Do not download from http://www.howcast.com/videos/{video_id}

It takes too much to follow the redirection.
master
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
6a2449df3b
1 changed files with 1 additions and 2 deletions
  1. 3
      youtube_dl/extractor/howcast.py

3
youtube_dl/extractor/howcast.py

@ -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(webpage_url, video_id)
webpage = self._download_webpage(url, video_id)
self.report_extraction(video_id) self.report_extraction(video_id)

Loading…
Cancel
Save