diff options
author | telephono <telephono@users.noreply.github.com> | 2019-08-31 19:24:43 +0200 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2019-09-01 00:24:43 +0700 |
commit | 71f47617c8845900c1a3c2da79f9f7654199fedb (patch) | |
tree | 3114499635c9ec2abdf03c01d329c356699db0e1 /youtube_dl/downloader/external.py | |
parent | 3f46a25a971b6c1e56747cc4813c1ccdfb18aaa2 (diff) |
[downloader/external] Respect mtime option for aria2c (#22242)
Diffstat (limited to 'youtube_dl/downloader/external.py')
-rw-r--r-- | youtube_dl/downloader/external.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index acdb27712..c31f8910a 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -194,6 +194,7 @@ class Aria2cFD(ExternalFD): cmd += self._option('--interface', 'source_address') cmd += self._option('--all-proxy', 'proxy') cmd += self._bool_option('--check-certificate', 'nocheckcertificate', 'false', 'true', '=') + cmd += self._bool_option('--remote-time', 'updatetime', 'true', 'false', '=') cmd += ['--', info_dict['url']] return cmd |