diff --git a/main.py b/main.py index 346cbfa..0ab9836 100644 --- a/main.py +++ b/main.py @@ -320,6 +320,9 @@ def start(): forcelist=keys["FORCELIST"], ) + # TODO: Break in v2 API : max 25 rule (https://docs.tweepy.org/en/stable/streamrule.html#tweepy.StreamRule) + # Need research, is it possible to run the stream without filter and still catching everything we want? + # Only track specifics words stream.add_rules([StreamRule(word) for word in triggerWords]) stream.filter(threaded=True)