开发者

Twitter Api v2 python filtered stream - not define Rule, no connection,why is the rule not working?

previousRules = strea开发者_运维百科m.get_rules().data
if previousRules:
    stream.delete_rules(previousRules)

rule = StreamRule(value="from:BBC lang:en -is:retweet")
stream.add_rules(rule)

with a simple request for a keyword, then it goes, but when you make such a rule, there is no flow

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜