Remove bullshit
This commit is contained in:
parent
60c32fcb25
commit
b6fc92e3c8
|
@ -13,8 +13,8 @@ class twObject:
|
||||||
def delete(self, id):
|
def delete(self, id):
|
||||||
self.api.destroy_status(id)
|
self.api.destroy_status(id)
|
||||||
|
|
||||||
def search(self, query, savepoint = 0, count = None):
|
def search(self, query, savepoint = 0):
|
||||||
tweets = list(tweepy.Cursor(self.api.search, q=query, since_id=savepoint, count=count, include_entities=True).items())
|
tweets = list(tweepy.Cursor(self.api.search, q=query, since_id=savepoint, include_entities=True).items())
|
||||||
tweets.reverse()
|
tweets.reverse()
|
||||||
return tweets
|
return tweets
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue