From 12f89e15bf23e1050629005caa0c7e31a6bf873c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 7 Jun 2023 14:19:14 +0200 Subject: [PATCH] Continued: - find_domains() is in module 'fba' --- fba/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fba/commands.py b/fba/commands.py index 8aac992..2b7ca9b 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -340,11 +340,11 @@ def fetch_cs(args: argparse.Namespace): silenced = doc.find("h2", {"id": "silenced-instances"}).findNext("table") # DEBUG: print(f"DEBUG: silenced[]={type(silenced)}") - domains["silenced"] = domains["silenced"] + find_domains(silenced) + domains["silenced"] = domains["silenced"] + fba.find_domains(silenced) blocked = doc.find("h2", {"id": "blocked-instances"}).findNext("table") # DEBUG: print(f"DEBUG: blocked[]={type(blocked)}") - domains["blocked"] = domains["blocked"] + find_domains(blocked) + domains["blocked"] = domains["blocked"] + fba.find_domains(blocked) except BaseException as e: print(f"ERROR: Cannot fetch from meta.chaos.social,exception[{type(e)}]:'{str(e)}'") -- 2.39.5