Include entities in search
This commit is contained in:
parent
844f92b8c5
commit
75c9304bac
|
@ -14,7 +14,7 @@ class twObject:
|
||||||
self.api.destroy_status(id)
|
self.api.destroy_status(id)
|
||||||
|
|
||||||
def search(self, query, savepoint = 0):
|
def search(self, query, savepoint = 0):
|
||||||
tweets = list(tweepy.Cursor(self.api.search, q=query, since_id=savepoint).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