From: Roland Häder Date: Wed, 7 Jun 2023 12:19:14 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=12f89e15bf23e1050629005caa0c7e31a6bf873c;p=fba.git Continued: - find_domains() is in module 'fba' --- 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)}'")