diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-18 17:17:45 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-18 18:03:20 +0530 |
commit | dcd55f766d051eb24fb240edbead20b1920d2f63 (patch) | |
tree | 276cf9bc4358ef9ea7581171c33b0d2a6b3d2248 | |
parent | 2e4cacd038b8543ccecfa9081dff6f656c979548 (diff) | |
download | hypervideo-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.py | 2 |
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: |