]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 20 Apr 2025 21:58:34 +0000 (23:58 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 20 Apr 2025 21:58:34 +0000 (23:58 +0200)
- added 'pawkey' as an alias for 'misskey'
- need to ignore unwanted domains before invoking domain_helper.encode_idna()

fba/commands.py
fba/helpers/software.py

index cc42fc93025b4ea165a418f7c7f5dfb1dbd4e3e1..23a83bfe261e83cc31ec0e379ac1a5730f3a7e9f 100644 (file)
@@ -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)
index d41d09f7085c601daebeb6dabf67c64fbe94b8b2..6ac19d32ceab318908ca7aac61e6d1ec1248baae 100644 (file)
@@ -85,6 +85,7 @@ _misskey_aliases = [
     "yojo-art",
     "forkey",
     "lockpick",
+    "pawkey",
 ]
 
 # Aliases for pleroma