Browse Source

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

master
telephono 5 years ago
committed by Sergey M
parent
commit
71f47617c8
1 changed files with 1 additions and 0 deletions
  1. 1
      youtube_dl/downloader/external.py

1
youtube_dl/downloader/external.py

@ -194,6 +194,7 @@ class Aria2cFD(ExternalFD):
cmd += self._option('--interface', 'source_address') cmd += self._option('--interface', 'source_address')
cmd += self._option('--all-proxy', 'proxy') cmd += self._option('--all-proxy', 'proxy')
cmd += self._bool_option('--check-certificate', 'nocheckcertificate', 'false', 'true', '=') cmd += self._bool_option('--check-certificate', 'nocheckcertificate', 'false', 'true', '=')
cmd += self._bool_option('--remote-time', 'updatetime', 'true', 'false', '=')
cmd += ['--', info_dict['url']] cmd += ['--', info_dict['url']]
return cmd return cmd

Loading…
Cancel
Save