]> gitweb.fluxo.info Git - grab-queue.git/commitdiff
Fix: newer wpull does not support --monitor-disk and --monitor-memory
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Nov 2020 22:02:21 +0000 (19:02 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Nov 2020 22:02:21 +0000 (19:02 -0300)
grab-queue

index bfeaf406e5916e167a8ea8799a79a0f7afd1cf03..6c1986e6ae82595c6fa9d46a25f729494c967c4a 100755 (executable)
@@ -34,7 +34,7 @@ from tqdm import tqdm
 class DownloadMultiple:
     """Downloads multiple files simultaneously with error logging and fancy output"""
 
-    def __init__(self, limit_concurrent = 5, progress = True, debug = False, downloader = 'grab-site --no-offsite-links --wpull-args="--monitor-disk 5000m --monitor-memory 500m"'):
+    def __init__(self, limit_concurrent = 5, progress = True, debug = False, downloader = 'grab-site --no-offsite-links'):
         # Check for grab-site
         downloader_bin = downloader.split(' ')[0]
         if '/' in downloader_bin and not os.path.exists(downloader_bin):