From cf238cf2aa6161aca91a06b344811b34a5d0033d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 17 Jul 2023 18:12:04 +0200 Subject: [PATCH] Continued: - fetch_blocks should NOT check if a blocked domain has recently been "crawled" as this would exclude it from being blocked (ops!) --- fba/commands.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/fba/commands.py b/fba/commands.py index 1ecf9e2..ae92ef6 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -697,9 +697,6 @@ def fetch_cs(args: argparse.Namespace): if not "domain" in row: logger.warning("row[]='%s' has no element 'domain' - SKIPPED!", type(row)) continue - elif instances.is_recent(row["domain"], "last_blocked"): - logger.debug("row[domain]='%s' has been recently crawled - SKIPPED!", row["domain"]) - continue elif not instances.is_registered(row["domain"]): try: logger.info("Fetching instances from domain='%s' ...", row["domain"]) -- 2.39.5