aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortelephono <[email protected]>2019-08-31 19:24:43 +0200
committerSergey M <[email protected]>2019-09-01 00:24:43 +0700
commit71f47617c8845900c1a3c2da79f9f7654199fedb (patch)
tree3114499635c9ec2abdf03c01d329c356699db0e1
parent3f46a25a971b6c1e56747cc4813c1ccdfb18aaa2 (diff)
downloadyoutube-dl-71f47617c8845900c1a3c2da79f9f7654199fedb.tar.gz
youtube-dl-71f47617c8845900c1a3c2da79f9f7654199fedb.zip
[downloader/external] Respect mtime option for aria2c (#22242)
-rw-r--r--youtube_dl/downloader/external.py1
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