From: Jaime Marquínez Ferrándiz Date: Fri, 20 Sep 2013 11:05:34 +0000 (+0200) Subject: [funnyordie] Fix video url extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1a810f0d4e63ba702e49b7404c3f5f74ef716759;p=youtube-dl [funnyordie] Fix video url extraction --- diff --git a/youtube_dl/extractor/funnyordie.py b/youtube_dl/extractor/funnyordie.py index f3d86a711..2ccdb7073 100644 --- a/youtube_dl/extractor/funnyordie.py +++ b/youtube_dl/extractor/funnyordie.py @@ -21,7 +21,8 @@ class FunnyOrDieIE(InfoExtractor): video_id = mobj.group('id') webpage = self._download_webpage(url, video_id) - video_url = self._search_regex(r'type="video/mp4" src="(.*?)"', + video_url = self._search_regex( + [r'type="video/mp4" src="(.*?)"', r'src="([^>]*?)" type=\'video/mp4\''], webpage, u'video URL', flags=re.DOTALL) info = {