aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-02-18 17:17:45 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-02-18 18:03:20 +0530
commitdcd55f766d051eb24fb240edbead20b1920d2f63 (patch)
tree276cf9bc4358ef9ea7581171c33b0d2a6b3d2248
parent2e4cacd038b8543ccecfa9081dff6f656c979548 (diff)
downloadhypervideo-pre-dcd55f766d051eb24fb240edbead20b1920d2f63.tar.lz
hypervideo-pre-dcd55f766d051eb24fb240edbead20b1920d2f63.tar.xz
hypervideo-pre-dcd55f766d051eb24fb240edbead20b1920d2f63.zip
[aria2c] Add `--http-accept-gzip=true`
Closes #1936, #1236
-rw-r--r--yt_dlp/downloader/external.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py
index f4fdcf120..03ae3a00e 100644
--- a/yt_dlp/downloader/external.py
+++ b/yt_dlp/downloader/external.py
@@ -253,7 +253,7 @@ class Aria2cFD(ExternalFD):
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: