From b1d568f0bc131e2bead64b0c6909fb35378b941a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Mon, 20 May 2013 08:39:41 +0200 Subject: [PATCH] HowcastIE: extract thumbnail --- youtube_dl/InfoExtractors.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 64726e698..759658a47 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -4079,6 +4079,8 @@ class HowcastIE(InfoExtractor): webpage_url = 'http://www.howcast.com/videos/' + video_id webpage = self._download_webpage(webpage_url, video_id) + self.report_extraction(video_id) + mobj = re.search(r'\'file\': "(http://mobile-media\.howcast\.com/\d+\.mp4)"', webpage) if mobj is None: raise ExtractorError(u'Unable to extract video URL') @@ -4096,12 +4098,18 @@ class HowcastIE(InfoExtractor): else: video_description = mobj.group(1) or mobj.group(2) + mobj = re.search(r'