mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-30 02:01:05 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d0246d07f1
1 changed files with 1 additions and 1 deletions
|
@ -877,7 +877,7 @@ def check_video(vurl):
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue