add problematic todo
This commit is contained in:
parent
c0b5c168a7
commit
4e437ad675
1 changed files with 3 additions and 0 deletions
3
main.py
3
main.py
|
@ -320,6 +320,9 @@ def start():
|
||||||
forcelist=keys["FORCELIST"],
|
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
|
# Only track specifics words
|
||||||
stream.add_rules([StreamRule(word) for word in triggerWords])
|
stream.add_rules([StreamRule(word) for word in triggerWords])
|
||||||
stream.filter(threaded=True)
|
stream.filter(threaded=True)
|
||||||
|
|
Reference in a new issue