1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-06-20 06:26:49 +02:00

[aria2c] Add --http-accept-gzip=true

Closes #1936, #1236
This commit is contained in:
pukkandan 2022-02-18 17:17:45 +05:30
parent 2e4cacd038
commit dcd55f766d
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -253,7 +253,7 @@ def supports_manifest(manifest):
def _make_cmd(self, tmpfilename, info_dict):
cmd = [self.exe, '-c',
'--console-log-level=warn', '--summary-interval=0', '--download-result=hide',
'--file-allocation=none', '-x16', '-j16', '-s16']
'--http-accept-gzip=true', '--file-allocation=none', '-x16', '-j16', '-s16']
if 'fragments' in info_dict:
cmd += ['--allow-overwrite=true', '--allow-piece-length-change=true']
else: