]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/funnyordie.py
debian/control: Update list of extractors.
[youtubedl] / youtube_dl / extractor / funnyordie.py
index 4508f0dfac29a85d86533c2f781414b9b17d10cb..2ccdb70733e9b07cc2fc925630cde0a48a739b4b 100644 (file)
@@ -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 = {