check for x.com and legacy twitter.com
This commit is contained in:
@@ -71,7 +71,7 @@ class User:
|
||||
"""Writes the input line into it's respective list,
|
||||
depending on what website it belongs to."""
|
||||
|
||||
if re.search("x", line):
|
||||
if re.search(r"(x\\.com|twitter\\.com)", line):
|
||||
self.append_list("main", validate_x_link(line))
|
||||
elif re.search(r"kemono\.party", line):
|
||||
self.append_list("kemono", line)
|
||||
|
||||
Reference in New Issue
Block a user