mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 06:17:16 +08:00
Rewrite remix.aka to remix-aka for VRT.nu
This commit is contained in:
parent
140a13f5de
commit
5002f0fa1a
@ -50,6 +50,10 @@ class CanvasIE(InfoExtractor):
|
||||
formats = []
|
||||
for target in data['targetUrls']:
|
||||
format_url, format_type = target.get('url'), target.get('type')
|
||||
|
||||
# VRT seems to be providing invalid URLS
|
||||
format_url = format_url.replace('https://remix.aka', 'https://remix-aka')
|
||||
|
||||
if not format_url or not format_type:
|
||||
continue
|
||||
if format_type == 'HLS':
|
||||
|
Loading…
x
Reference in New Issue
Block a user