[weboob] [PATCH 1/1] Add resume option for video downloading

ianux ianux at free.fr
Sat Mar 9 23:08:47 CET 2013


Signed-off-by: ianux <ianux at free.fr>
---
 weboob/applications/videoob/videoob.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/weboob/applications/videoob/videoob.py b/weboob/applications/videoob/videoob.py
index 721db78..353b222 100644
--- a/weboob/applications/videoob/videoob.py
+++ b/weboob/applications/videoob/videoob.py
@@ -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)
 
-- 
1.8.1.5




More information about the weboob mailing list