1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +01: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 @@ def _make_cmd(self, tmpfilename, info_dict):
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