aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-11-23 19:02:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-11-23 19:02:21 -0300
commit38d7f377d49a73374022b0ae3e74cf2bb25af4ed (patch)
treebaaaa11660bd88a8d63294976a27e4870e093b02
parent0fae0715f8e504284386def63b4f512a87a4a801 (diff)
downloadgrab-queue-38d7f377d49a73374022b0ae3e74cf2bb25af4ed.tar.gz
grab-queue-38d7f377d49a73374022b0ae3e74cf2bb25af4ed.tar.bz2
Fix: newer wpull does not support --monitor-disk and --monitor-memory
-rwxr-xr-xgrab-queue2
1 files changed, 1 insertions, 1 deletions
diff --git a/grab-queue b/grab-queue
index bfeaf40..6c1986e 100755
--- a/grab-queue
+++ b/grab-queue
@@ -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):