aboutsummaryrefslogtreecommitdiff
path: root/grab-queue
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-07-08 15:32:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-07-08 15:32:47 -0300
commit48e5abf6b32991cf1e3da698ca6519e0da9e1e2e (patch)
treebd02b15e49496a34d400d4a0a4e72f1188fcae12 /grab-queue
parent5f82a1c1a786bf74a41aaecb123f8a7d063e76f2 (diff)
downloadgrab-queue-48e5abf6b32991cf1e3da698ca6519e0da9e1e2e.tar.gz
grab-queue-48e5abf6b32991cf1e3da698ca6519e0da9e1e2e.tar.bz2
Adds --monitor-disk and --monitor-memory into wpull args
Diffstat (limited to 'grab-queue')
-rwxr-xr-xgrab-queue2
1 files changed, 1 insertions, 1 deletions
diff --git a/grab-queue b/grab-queue
index e50a688..febd308 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'):
+ def __init__(self, limit_concurrent = 5, progress = True, debug = False, downloader = 'grab-site --no-offsite-links --wpull-args="--monitor-disk --monitor-memory"'):
# Check for grab-site
downloader_bin = downloader.split(' ')[0]
if '/' in downloader_bin and not os.path.exists(downloader_bin):