projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f46a25
)
[downloader/external] Respect mtime option for aria2c (#22242)
author
telephono
<telephono@users.noreply.github.com>
Sat, 31 Aug 2019 17:24:43 +0000
(19:24 +0200)
committer
Sergey M
<dstftw@gmail.com>
Sat, 31 Aug 2019 17:24:43 +0000
(
00:24
+0700)
youtube_dl/downloader/external.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/external.py
b/youtube_dl/downloader/external.py
index acdb27712264005346f1e9163af08ce71b73e84d..c31f8910ad89ceeaba9582eea5dc75e6adde3757 100644
(file)
--- 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