commit: 8f3f1aef0547b29f685068fb8ce97d374aeda421
parent 51d2453c7ade642e7f2253ed2211824bd0a2a9ff
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Thu, 23 May 2013 13:34:33 +0200
Fix HowCast IE
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)