]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[funnyordie] Fix extraction (Closes #4011)
authorSergey M․ <dstftw@gmail.com>
Thu, 23 Oct 2014 16:07:58 +0000 (23:07 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 23 Oct 2014 16:07:58 +0000 (23:07 +0700)
youtube_dl/extractor/funnyordie.py

index d966e8403dfe9e03765d6a2eb0ab895a0da4100a..ec6d96adaeff666bf0fea7fe78e766c6a6ac2808 100644 (file)
@@ -37,7 +37,7 @@ class FunnyOrDieIE(InfoExtractor):
         video_id = mobj.group('id')
         webpage = self._download_webpage(url, video_id)
 
-        links = re.findall(r'<source src="([^"]+/v)\d+\.([^"]+)" type=\'video', webpage)
+        links = re.findall(r'<source src="([^"]+/v)[^"]+\.([^"]+)" type=\'video', webpage)
         if not links:
             raise ExtractorError('No media links available for %s' % video_id)