TypeError: 'NoneType' object is not subscriptable
Closed this issue · 0 comments
lynyanny commented
Really thanks for this package for helping scraping Twitter.
I'm using the 'term' mode in get.tweets().
def get_tweets(searchquery, modes, no): tweets = scraper.get_tweets(searchquery, mode=modes, number=no)
It sometimes works smoothly, but for some time, it always pops up the error msg of TypeError: 'NoneType' object is not subscriptable
at certain number of tweets. Please see the details in the pic below. It stops and all the time spent is invalid. Do you know how to fix this issue. Appreciate a lot.