Browse Source

[NRK] Remove explicit Accept-Encoding header that invites Brotli

Fixes #31285
dirkf 3 years ago
parent
commit
22127b271c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      youtube_dl/extractor/nrk.py

+ 1 - 2
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):