1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 11:15:35 +08:00

[orf] Fix certificate error (closes #17737)

Rewrite apasfpd.apa.at to apasfpd.sf.apa.at in video urls to match https certificate
This commit is contained in:
Sebastian Haas 2018-10-11 22:29:52 +02:00
parent 5d90a8a5f3
commit 3b4efbc516

View File

@ -84,7 +84,7 @@ class ORFTVthekIE(InfoExtractor):
'preference': -10 if fd['delivery'] == 'hls' else None,
'format_id': '%s-%s-%s' % (
fd['delivery'], fd['quality'], fd['quality_string']),
'url': fd['src'],
'url': fd['src'].replace('https://apasfpd.apa.at', 'https://apasfpd.sf.apa.at'),
'protocol': fd['protocol'],
'quality': quality_to_int(fd['quality']),
} for fd in sd['sources']]