Add resume option for video downloading
Signed-off-by: ianux <ianux@free.fr> Signed-off-by: Romain Bignon <romain@symlink.me>
This commit is contained in:
parent
5b12a3c17e
commit
d01b0ef58f
1 changed files with 2 additions and 2 deletions
|
|
@ -116,11 +116,11 @@ class Videoob(ReplApplication):
|
|||
elif video.url.startswith('mms'):
|
||||
if not check_exec('mimms'):
|
||||
return 1
|
||||
args = ('mimms', video.url, dest)
|
||||
args = ('mimms', '-r', video.url, dest)
|
||||
else:
|
||||
if not check_exec('wget'):
|
||||
return 1
|
||||
args = ('wget', video.url, '-O', dest)
|
||||
args = ('wget', '-c', video.url, '-O', dest)
|
||||
|
||||
os.spawnlp(os.P_WAIT, args[0], *args)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue