+1 filter for entries

This commit is contained in:
Mint 2022-11-30 03:18:51 +03:00
parent 6fa74de55c
commit dc5301b89f

View file

@ -191,6 +191,8 @@ def tidyup(domain: str) -> str:
domain = re.sub("^https?\:(\/*)", "", domain) domain = re.sub("^https?\:(\/*)", "", domain)
# and trailing slash # and trailing slash
domain = re.sub("\/$", "", domain) domain = re.sub("\/$", "", domain)
# and the @
domain = re.sub("^\@", "", domain)
# the biggest retards of them all try to block individual users # the biggest retards of them all try to block individual users
domain = re.sub("(.+)\@", "", domain) domain = re.sub("(.+)\@", "", domain)
return domain return domain