Include entities in search

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-27 00:40:00 +01:00
parent 844f92b8c5
commit 75c9304bac

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