mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-02-16 17:07:54 +01:00
Remove the continue argument to aria2c when --no-continue is specified
This commit is contained in:
parent
e8c5d40bc8
commit
c54985aa91
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user