projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a7ef27
)
[nrk] Switch psapi URL to https (closes #29344)
author
Sergey M․
<dstftw@gmail.com>
Sun, 20 Jun 2021 17:36:28 +0000
(
00:36
+0700)
committer
Sergey 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
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nrk.py
b/youtube_dl/extractor/nrk.py
index 40dee2162f5867ca3bc94ca56508329c7905d0b1..6d01a25c3e561ac67bb3814d2c31cb357fcd0a30 100644
(file)
--- 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('http
s
://psapi.nrk.no/', path),
video_id, note or 'Downloading %s JSON' % item,
fatal=fatal, query=query,
headers={'Accept-Encoding': 'gzip, deflate, br'})