From 8f3f1aef0547b29f685068fb8ce97d374aeda421 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 23 May 2013 13:34:33 +0200 Subject: [PATCH] Fix HowCast IE --- youtube_dl/InfoExtractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 42e4d0352c..d318b4b034 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -4205,7 +4205,7 @@ def _real_extract(self, url): 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)