diff --git a/main.py b/main.py index e5a4879..f51a884 100644 --- a/main.py +++ b/main.py @@ -33,27 +33,32 @@ class Listener(StreamListener): """Answer to tweets.""" if status._json["user"]["id"] in self.listOfFriendsID: # verification of the author of the tweet if seniority(status._json["created_at"]): # verification of the age of the tweet - # recovery of the last "usable" word of the tweet - regex = r"https?:\/\/\S+| +?\?|\?| +?\!| ?\!|-|~|(?<=ui)i+|@\S+|\.+|(?<=na)a+(?