From: Mint <> Date: Wed, 30 Nov 2022 00:18:51 +0000 (+0300) Subject: +1 filter for entries X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dc5301b89f88d5bb91da8d4540ba269aa5cb87ae;p=fba.git +1 filter for entries --- diff --git a/fetch_blocks.py b/fetch_blocks.py index 7a3ae28..31e3f72 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -191,6 +191,8 @@ def tidyup(domain: str) -> str: domain = re.sub("^https?\:(\/*)", "", domain) # and trailing slash domain = re.sub("\/$", "", domain) + # and the @ + domain = re.sub("^\@", "", domain) # the biggest retards of them all try to block individual users domain = re.sub("(.+)\@", "", domain) return domain