From 3b4efbc516bd63cc4b624f0d852e6b95e3dd4a27 Mon Sep 17 00:00:00 2001 From: Sebastian Haas Date: Thu, 11 Oct 2018 22:29:52 +0200 Subject: [PATCH] [orf] Fix certificate error (closes #17737) Rewrite apasfpd.apa.at to apasfpd.sf.apa.at in video urls to match https certificate --- youtube_dl/extractor/orf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/orf.py b/youtube_dl/extractor/orf.py index c1fb580ca..85ae00629 100644 --- a/youtube_dl/extractor/orf.py +++ b/youtube_dl/extractor/orf.py @@ -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']]