[nrk] Switch psapi URL to https (closes #29344)
authorSergey M․ <dstftw@gmail.com>
Sun, 20 Jun 2021 17:36:28 +0000 (00:36 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 20 Jun 2021 17:36:28 +0000 (00:36 +0700)
Catalog calls no longer work via http

youtube_dl/extractor/nrk.py

index 40dee2162f5867ca3bc94ca56508329c7905d0b1..6d01a25c3e561ac67bb3814d2c31cb357fcd0a30 100644 (file)
@@ -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'})