Fix HowCast IE
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 23 May 2013 11:34:33 +0000 (13:34 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 23 May 2013 11:34:33 +0000 (13:34 +0200)
youtube_dl/InfoExtractors.py

index 42e4d0352cf8b9dbe07adbd14115ca65f67fae46..d318b4b0340c5912c5232ad4df663a0d86b3b247 100755 (executable)
@@ -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)