Include entities in search

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-27 00:40:00 +01:00
parent 45890fd103
commit 597734b1d4

View file

@ -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