From: telephono Date: Sat, 31 Aug 2019 17:24:43 +0000 (+0200) Subject: [downloader/external] Respect mtime option for aria2c (#22242) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=71f47617c8845900c1a3c2da79f9f7654199fedb;p=youtube-dl [downloader/external] Respect mtime option for aria2c (#22242) --- 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