diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-05-16 20:32:53 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-05-16 20:32:53 +0700 |
commit | a5a45015ba07a6997c31233c8328cfa8d0f7f96b (patch) | |
tree | 79b0db27b931ce45215781c3e98800dae5d979b5 /youtube_dl/extractor/generic.py | |
parent | beee53de06eca52d0ae042ce6fcabf319180ec14 (diff) |
[generic] Fix redirect
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
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) |