1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 18:42:59 +08:00

[downloader/external] Respect mtime option for aria2c (#22242)

This commit is contained in:
telephono 2019-08-31 19:24:43 +02:00 committed by Sergey M
parent 3f46a25a97
commit 71f47617c8

View File

@ -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