0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-30 03:33:02 +00:00

Fix HowCast IE

This commit is contained in:
Philipp Hagemeister 2013-05-23 13:34:33 +02:00
parent 51d2453c7a
commit 8f3f1aef05

View file

@ -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)