diff options
author | Sergey M․ <[email protected]> | 2021-06-21 00:36:28 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2021-06-21 00:36:28 +0700 |
commit | 57b9a4b4c6cf2580b5007db78bd333a9a237fd47 (patch) | |
tree | d9005899554551536b5e848c188568760cdcea2d /youtube_dl | |
parent | 3a7ef27cf306a0a8f79ebd78ae60329c53080d14 (diff) | |
download | youtube-dl-57b9a4b4c6cf2580b5007db78bd333a9a237fd47.tar.gz youtube-dl-57b9a4b4c6cf2580b5007db78bd333a9a237fd47.zip |
[nrk] Switch psapi URL to https (closes #29344)
Catalog calls no longer work via http
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/nrk.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'}) |