diff options
author | dirkf <[email protected]> | 2022-10-10 17:41:40 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-10 17:41:40 +0000 |
commit | 22127b271c8f3e9266840bc5a2fb994d6248e369 (patch) | |
tree | 0a1a3254cd1e02ea0a25c202a081a9563cc71e30 /youtube_dl | |
parent | d35557a75d943865e40410d51bfcc18276e98532 (diff) | |
download | youtube-dl-22127b271c8f3e9266840bc5a2fb994d6248e369.tar.gz youtube-dl-22127b271c8f3e9266840bc5a2fb994d6248e369.zip |
[NRK] Remove explicit Accept-Encoding header that invites Brotli
Fixes #31285
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/nrk.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py index 6d01a25c3..5a62b50fc 100644 --- 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): |