]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[funnyordie] fix video url extraction
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 12 Sep 2013 09:31:27 +0000 (11:31 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 12 Sep 2013 09:31:27 +0000 (11:31 +0200)
youtube_dl/extractor/funnyordie.py

index 4508f0dfac29a85d86533c2f781414b9b17d10cb..f3d86a711c749734e78b210682f034d37e4536cb 100644 (file)
@@ -21,7 +21,7 @@ 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="(.*?)"',
             webpage, u'video URL', flags=re.DOTALL)
 
         info = {