From: dirkf Date: Mon, 10 Oct 2022 17:41:40 +0000 (+0000) Subject: [NRK] Remove explicit Accept-Encoding header that invites Brotli X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=22127b271c8f3e9266840bc5a2fb994d6248e369;p=youtube-dl [NRK] Remove explicit Accept-Encoding header that invites Brotli Fixes #31285 --- 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):