aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/litv.py
diff options
context:
space:
mode:
authorcoletdjnz <coletdjnz@protonmail.com>2023-05-21 10:55:09 +1200
committerGitHub <noreply@github.com>2023-05-20 22:55:09 +0000
commit955c89584b66fcd0fcfab3e611f1edeb1ca63886 (patch)
tree34e055368b414b5cc908e84e97a7823f27f1d7c3 /yt_dlp/extractor/litv.py
parent69bec6730ec9d724bcedeab199d9d684d61423ba (diff)
downloadhypervideo-pre-955c89584b66fcd0fcfab3e611f1edeb1ca63886.tar.lz
hypervideo-pre-955c89584b66fcd0fcfab3e611f1edeb1ca63886.tar.xz
hypervideo-pre-955c89584b66fcd0fcfab3e611f1edeb1ca63886.zip
[core] Deprecate internal `Youtubedl-no-compression` header (#6876)
Authored by: coletdjnz
Diffstat (limited to 'yt_dlp/extractor/litv.py')
-rw-r--r--yt_dlp/extractor/litv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/litv.py b/yt_dlp/extractor/litv.py
index 31826ac99..0b792fb96 100644
--- a/yt_dlp/extractor/litv.py
+++ b/yt_dlp/extractor/litv.py
@@ -113,7 +113,7 @@ class LiTVIE(InfoExtractor):
entry_protocol='m3u8_native', m3u8_id='hls')
for a_format in formats:
# LiTV HLS segments doesn't like compressions
- a_format.setdefault('http_headers', {})['Youtubedl-no-compression'] = True
+ a_format.setdefault('http_headers', {})['Accept-Encoding'] = 'identity'
title = program_info['title'] + program_info.get('secondaryMark', '')
description = program_info.get('description')