1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2026-05-02 03:33:29 +00:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Philipp Hagemeister
2014-09-16 23:35:08 +02:00
+1 -1
View File
@@ -877,7 +877,7 @@ class GenericIE(InfoExtractor):
if not found:
found = re.search(
r'(?i)<meta\s+(?=(?:[a-z-]+="[^"]+"\s+)*http-equiv="refresh")'
r'(?:[a-z-]+="[^"]+"\s+)*?content="[0-9]{,2};url=\'([^\']+)\'"',
r'(?:[a-z-]+="[^"]+"\s+)*?content="[0-9]{,2};url=\'?([^\'"]+)',
webpage)
if found:
new_url = found.group(1)