check for x.com and legacy twitter.com

This commit is contained in:
Danilo Reyes
2026-02-28 19:37:20 -06:00
parent 34460c6f4d
commit f2d5c1324a

View File

@@ -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)