From: Philipp Hagemeister Date: Thu, 23 May 2013 11:34:33 +0000 (+0200) Subject: Fix HowCast IE X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=8f3f1aef0547b29f685068fb8ce97d374aeda421;p=youtube-dl Fix HowCast IE --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 42e4d0352..d318b4b03 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -4205,7 +4205,7 @@ class HowcastIE(InfoExtractor): self.report_extraction(video_id) - mobj = re.search(r'\'file\': "(http://mobile-media\.howcast\.com/\d+\.mp4)"', webpage) + mobj = re.search(r'\'?file\'?: "(http://mobile-media\.howcast\.com/[0-9]+\.mp4)"', webpage) if mobj is None: raise ExtractorError(u'Unable to extract video URL') video_url = mobj.group(1)