diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-07-08 15:32:47 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-07-08 15:32:47 -0300 |
commit | 48e5abf6b32991cf1e3da698ca6519e0da9e1e2e (patch) | |
tree | bd02b15e49496a34d400d4a0a4e72f1188fcae12 | |
parent | 5f82a1c1a786bf74a41aaecb123f8a7d063e76f2 (diff) | |
download | grab-queue-48e5abf6b32991cf1e3da698ca6519e0da9e1e2e.tar.gz grab-queue-48e5abf6b32991cf1e3da698ca6519e0da9e1e2e.tar.bz2 |
Adds --monitor-disk and --monitor-memory into wpull args
-rwxr-xr-x | grab-queue | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |