mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-18 13:14:56 +00:00
[nrk] Switch psapi URL to https (closes #29344)
Catalog calls no longer work via http
This commit is contained in:
parent
3a7ef27cf3
commit
57b9a4b4c6
@ -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'})
|
||||
|
Loading…
Reference in New Issue
Block a user