From: Roland Häder Date: Sun, 20 Apr 2025 21:58:34 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5e7cce97c512be482cccdf08078d4d56c25a3c40;p=fba.git Continued: - added 'pawkey' as an alias for 'misskey' - need to ignore unwanted domains before invoking domain_helper.encode_idna() --- diff --git a/fba/commands.py b/fba/commands.py index cc42fc9..23a83bf 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -603,6 +603,9 @@ def fetch_observer(args: argparse.Namespace) -> int: if domain in [None, ""]: logger.debug("domain[%s]='%s' is empty after tidyup.domain(): item[domain]='%s' - SKIPPED!", type(domain), domain, item["domain"]) continue + elif not domain_helper.is_wanted(domain): + logger.debug("domain='%s' is not wanted - SKIPPED!", domain) + continue logger.debug("domain='%s' - BEFORE!", domain) domain = domain_helper.encode_idna(domain) diff --git a/fba/helpers/software.py b/fba/helpers/software.py index d41d09f..6ac19d3 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -85,6 +85,7 @@ _misskey_aliases = [ "yojo-art", "forkey", "lockpick", + "pawkey", ] # Aliases for pleroma