Mottl / GetOldTweets3

A Python 3 library and a corresponding command line utility for accessing old tweets
MIT License
366 stars 127 forks source link

How to handle IndexError? #72

Open bhavyadeep111 opened 4 years ago

bhavyadeep111 commented 4 years ago

while running code, getting below error. How to handle as I am trying to get more than one tweet?

tweet = got.manager.TweetManager.getTweets(tweetCriteria)[0] IndexError: list index out of range