Commit d01b0ef5 authored by ianux's avatar ianux Committed by Romain Bignon

Add resume option for video downloading

Signed-off-by: 's avatarianux <ianux@free.fr>
Signed-off-by: Romain Bignon's avatarRomain Bignon <romain@symlink.me>
parent 5b12a3c1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment