From dc5301b89f88d5bb91da8d4540ba269aa5cb87ae Mon Sep 17 00:00:00 2001 From: Mint <> Date: Wed, 30 Nov 2022 03:18:51 +0300 Subject: [PATCH] +1 filter for entries --- fetch_blocks.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2