From c54985aa914ef6f83a21ec886964842f28279cd0 Mon Sep 17 00:00:00 2001 From: Crend King <975235+CrendKing@users.noreply.github.com> Date: Wed, 16 Sep 2020 14:46:26 -0700 Subject: [PATCH] Remove the continue argument to aria2c when --no-continue is specified --- youtube_dl/downloader/external.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index c31f8910a..67c3da4d4 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -182,7 +182,8 @@ class Aria2cFD(ExternalFD): AVAILABLE_OPT = '-v' def _make_cmd(self, tmpfilename, info_dict): - cmd = [self.exe, '-c'] + cmd = [self.exe] + cmd += self._valueless_option('-c', 'continuedl') cmd += self._configuration_args([ '--min-split-size', '1M', '--max-connection-per-server', '4']) dn = os.path.dirname(tmpfilename)