projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d35557a
)
[NRK] Remove explicit Accept-Encoding header that invites Brotli
author
dirkf
<fieldhouse@gmx.net>
Mon, 10 Oct 2022 17:41:40 +0000
(17:41 +0000)
committer
GitHub
<noreply@github.com>
Mon, 10 Oct 2022 17:41:40 +0000
(17:41 +0000)
Fixes #31285
youtube_dl/extractor/nrk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nrk.py
b/youtube_dl/extractor/nrk.py
index 6d01a25c3e561ac67bb3814d2c31cb357fcd0a30..5a62b50fcaafe0999b453b6bfe09eed9200677b4 100644
(file)
--- a/
youtube_dl/extractor/nrk.py
+++ b/
youtube_dl/extractor/nrk.py
@@
-60,8
+60,7
@@
class NRKBaseIE(InfoExtractor):
return self._download_json(
urljoin('https://psapi.nrk.no/', path),
video_id, note or 'Downloading %s JSON' % item,
- fatal=fatal, query=query,
- headers={'Accept-Encoding': 'gzip, deflate, br'})
+ fatal=fatal, query=query)
class NRKIE(NRKBaseIE):