diff options
-rwxr-xr-x | grab-queue | 4 |
1 files changed, 2 insertions, 2 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 --wpull-args="--monitor-disk --monitor-memory"'): + def __init__(self, limit_concurrent = 5, progress = True, debug = False, downloader = 'grab-site --no-offsite-links --wpull-args="--monitor-disk 5000m --monitor-memory 500m"'): # Check for grab-site downloader_bin = downloader.split(' ')[0] if '/' in downloader_bin and not os.path.exists(downloader_bin): @@ -203,7 +203,7 @@ class GrabQueue: if args.downloader == None: #args.downloader = '/usr/bin/wget' - args.downloader = 'grab-site --no-offsite-links --wpull-args="--monitor-disk --monitor-memory"' + args.downloader = 'grab-site --no-offsite-links --wpull-args="--monitor-disk 5000m --monitor-memory 500m"' self.download = DownloadMultiple(self.limit_concurrent, self.progress, self.debug, args.downloader) |