mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-05-01 07:51:10 -05:00
Tweety: update search operator
This commit is contained in:
parent
182583ff23
commit
ffca84e1c7
@ -561,7 +561,7 @@ class Tweety(callbacks.Plugin):
|
|||||||
"{0}".format(optterm)
|
"{0}".format(optterm)
|
||||||
]
|
]
|
||||||
if key == "nort":
|
if key == "nort":
|
||||||
tsearchArgs["q"] += " exclude:retweets"
|
tsearchArgs["q"] += " -filter:retweets"
|
||||||
# now build our API call.
|
# now build our API call.
|
||||||
data = self.twitterApi.ApiCall("search/tweets", parameters=tsearchArgs)
|
data = self.twitterApi.ApiCall("search/tweets", parameters=tsearchArgs)
|
||||||
if not data:
|
if not data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user