tweepy Status object (tweet) has no attribute .text
Solution 1:
Maybe you should try change tweet.text
to tweet.full_text
Or something like this:
results = api.search(q=query, lang=language, count=tweetCount, tweet_mode='extended')
for tweet in results:
print(tweet.full_text)
For reference: https://github.com/tweepy/tweepy/issues/878
And see the documentation for extended mode:
When using extended mode, the text attribute of Status objects returned by tweepy.API methods is replaced by a full_text attribute, which contains the entire untruncated text of the Tweet.