Include entities in search
This commit is contained in:
parent
45890fd103
commit
597734b1d4
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class twObject:
|
|||
self.api.destroy_status(id)
|
||||
|
||||
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()
|
||||
return tweets
|
||||
|
||||
|
|
Loading…
Reference in a new issue