]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 27 Jul 2024 21:51:00 +0000 (23:51 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 27 Jul 2024 21:51:00 +0000 (23:51 +0200)
- removed redundant utils.deobfuscate() invocation

fba/networks/pleroma.py

index 9c44e883ef5b412ceea9876c3b1195c75be912a2..87c1049bcb7fdc5311204f02b91a9912b360f5d4 100644 (file)
@@ -131,14 +131,6 @@ def fetch_blocks(domain: str) -> list:
                 elif validators.domain(blocked, rfc_2782=True) and blacklist.is_blacklisted(blocked):
                     logger.debug("blocked='%s' is blacklisted - SKIPPED!")
                     continue
-
-                logger.debug("Invoking utils.deobfuscate(%s, %s) ...", blocked, domain)
-                blocked = utils.deobfuscate(blocked, domain)
-                logger.debug("blocked[%s]='%s' - DEOBFUSCATED!", type(blocked), blocked)
-
-                if blocked in [None, ""]:
-                    logger.warning("instance[host]='%s' is None or empty after tidyup.domain() - SKIPPED!", instance["host"])
-                    continue
                 elif blocked.find("*") == -1 and blocked.find("?") == -1 and not domain_helper.is_wanted(blocked):
                     logger.debug("blocked='%s' is not wanted - SKIPPED!", blocked)
                     continue