[core] Deprecate internal Youtubedl-no-compression header (#6876)
Authored by: coletdjnz
This commit is contained in:
parent
69bec6730e
commit
955c89584b
6 changed files with 23 additions and 24 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue