commit: 22127b271c8f3e9266840bc5a2fb994d6248e369
parent d35557a75d943865e40410d51bfcc18276e98532
Author: dirkf <fieldhouse@gmx.net>
Date: Mon, 10 Oct 2022 17:41:40 +0000
[NRK] Remove explicit Accept-Encoding header that invites Brotli
Fixes #31285
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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):