From 258eaca327818fe5d94f9e8710eee566c107a78e Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 4 Aug 2021 18:40:13 +0200 Subject: [PATCH] same for "non" and "quoi" --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index fc96bca..f609e9f 100644 --- a/main.py +++ b/main.py @@ -34,7 +34,8 @@ class Listener(StreamListener): 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 - tweetText = sub(r"https?:\/\/\S+| +?\?|\?| +?\!| ?\!|-|~|(?<=ui)i+|@\S+|\.+|(?<=na)a+(?