1
0
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:
Michaël Arnauts 2018-12-28 13:17:37 +01:00
parent 140a13f5de
commit 5002f0fa1a

View File

@ -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':