1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-07 08:47:22 +08:00

[downloader/external/aria2c] Use the Last-modified header to set the file modification time

This commit is contained in:
telephono 2019-08-28 13:04:15 +02:00
parent b500955a58
commit a225f0e4d7

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