]> gitweb.fluxo.info Git - grab-queue.git/commitdiff
FIXME: --import-ignores from the previous grab
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 4 Jul 2019 20:48:43 +0000 (17:48 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 4 Jul 2019 20:48:43 +0000 (17:48 -0300)
grab-queue

index 92d6bac08267311400d5da8bc3ce3872f5553912..7ea4bde4738f1bbd21b376012d09276ed1fc6d1e 100755 (executable)
@@ -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,