+1 filter for entries
This commit is contained in:
parent
6fa74de55c
commit
dc5301b89f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user