Merge remote-tracking branch 'origin/master'
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 16 May 2014 13:52:01 +0000 (15:52 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 16 May 2014 13:52:01 +0000 (15:52 +0200)
youtube_dl/extractor/generic.py

index 1ae55dc5a2afc32cd0f60b74a38c9ee2724ab860..2861332826b5f20cdf0493edfdba8a7a12f357a8 100644 (file)
@@ -672,7 +672,7 @@ class GenericIE(InfoExtractor):
             # HTML5 video
             found = re.findall(r'(?s)<video[^<]*(?:>.*?<source.*?)? src="([^"]+)"', webpage)
         if not found:
-            found = re.findall(
+            found = re.search(
                 r'(?i)<meta\s+(?=(?:[a-z-]+="[^"]+"\s+)*http-equiv="refresh")'
                 r'(?:[a-z-]+="[^"]+"\s+)*?content="[0-9]{,2};url=\'([^\']+)\'"',
                 webpage)