]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 25 Jun 2023 01:13:38 +0000 (03:13 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 25 Jun 2023 01:13:38 +0000 (03:13 +0200)
- ops, forgot to also check everything here, too

fba/networks/pleroma.py

index 8d0e6e0d01aef8e5d1b74056f850d5af30e4188e..34c1a516e995ccb9712f151c8f9ef39cd08ea952 100644 (file)
@@ -252,6 +252,9 @@ def fetch_blocks(domain: str, nodeinfo_url: str) -> list:
             if blocked == "":
                 logger.warning("blocked is empty after tidyup.domain(): domain='%s',block_level='%s'", domain, block_level)
                 continue
+            elif not utils.is_domain_wanted(blocked):
+                logger.debug("blocked='%s' is not wanted - SKIPPED!", blocked)
+                continue
 
             logger.debug("Invoking utils.deobfuscate_domain(%s, %s) ...", blocked, domain)
             blocked = utils.deobfuscate_domain(blocked, domain)