Include entities in search
This commit is contained in:
parent
844f92b8c5
commit
75c9304bac
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