aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-07-04 17:48:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-07-04 17:48:43 -0300
commita005d2aa99a8be5b87d81935ff4ad6df400c2c46 (patch)
tree76b3aaaa96502b61e5c3cd03911f9095bdce8ec1
parentcca79732197c194b36c74c3046f0951df78e2cfe (diff)
downloadgrab-queue-a005d2aa99a8be5b87d81935ff4ad6df400c2c46.tar.gz
grab-queue-a005d2aa99a8be5b87d81935ff4ad6df400c2c46.tar.bz2
FIXME: --import-ignores from the previous grab
-rwxr-xr-xgrab-queue4
1 files changed, 4 insertions, 0 deletions
diff --git a/grab-queue b/grab-queue
index 92d6bac..7ea4bde 100755
--- a/grab-queue
+++ b/grab-queue
@@ -80,6 +80,10 @@ class DownloadMultiple:
if 'wget' in downloader_bin and local_filename[-1] != '/':
self_downloader += '-O ' + local_filename
+ # FIXME: --import-ignores from the previous grab
+ if 'grab-site' in downloader_bin:
+ self_downloader += ''
+
# Run command
cmd = 'cd ' + folder + ' && ' + self.downloader + ' ' + url
proc = await asyncio.create_subprocess_shell(cmd,