summaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/nrk.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2021-06-21 00:36:28 +0700
committerSergey M․ <[email protected]>2021-06-21 00:36:28 +0700
commit57b9a4b4c6cf2580b5007db78bd333a9a237fd47 (patch)
treed9005899554551536b5e848c188568760cdcea2d /youtube_dl/extractor/nrk.py
parent3a7ef27cf306a0a8f79ebd78ae60329c53080d14 (diff)
downloadyoutube-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/extractor/nrk.py')
-rw-r--r--youtube_dl/extractor/nrk.py2
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'})