aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-05-16 15:52:01 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-05-16 15:52:01 +0200
commit426b52fc5d503114f3aedc257a144b2e78c6b16c (patch)
tree0fd524c59a7411e279b6c0cc2b89c406954ce9ee
parent5c30b2684620357a9481e59087a1209f685e9305 (diff)
parenta5a45015ba07a6997c31233c8328cfa8d0f7f96b (diff)
Merge remote-tracking branch 'origin/master'
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 1ae55dc5a..286133282 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -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)