From: Sergey M․ Date: Sun, 20 Jun 2021 17:36:28 +0000 (+0700) Subject: [nrk] Switch psapi URL to https (closes #29344) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=57b9a4b4c6cf2580b5007db78bd333a9a237fd47;p=youtube-dl [nrk] Switch psapi URL to https (closes #29344) Catalog calls no longer work via http --- diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py index 40dee2162..6d01a25c3 100644 --- a/youtube_dl/extractor/nrk.py +++ b/youtube_dl/extractor/nrk.py @@ -58,7 +58,7 @@ class NRKBaseIE(InfoExtractor): def _call_api(self, path, video_id, item=None, note=None, fatal=True, query=None): return self._download_json( - urljoin('http://psapi.nrk.no/', path), + urljoin('https://psapi.nrk.no/', path), video_id, note or 'Downloading %s JSON' % item, fatal=fatal, query=query, headers={'Accept-Encoding': 'gzip, deflate, br'})