mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-23 20:15:34 +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:
parent
5d90a8a5f3
commit
3b4efbc516
@ -84,7 +84,7 @@ class ORFTVthekIE(InfoExtractor):
|
|||||||
'preference': -10 if fd['delivery'] == 'hls' else None,
|
'preference': -10 if fd['delivery'] == 'hls' else None,
|
||||||
'format_id': '%s-%s-%s' % (
|
'format_id': '%s-%s-%s' % (
|
||||||
fd['delivery'], fd['quality'], fd['quality_string']),
|
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'],
|
'protocol': fd['protocol'],
|
||||||
'quality': quality_to_int(fd['quality']),
|
'quality': quality_to_int(fd['quality']),
|
||||||
} for fd in sd['sources']]
|
} for fd in sd['sources']]
|
||||||
|
Loading…
Reference in New Issue
Block a user