You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from twitter_scraper import get_tweets
next(get_tweets("socgaudenti"))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".../python3.6/site-packages/twitter_scraper.py", line 78, in get_tweets
yield from gen_tweets(pages)
File ".../python3.6/site-packages/twitter_scraper.py", line 35, in gen_tweets
text = tweet.find('.tweet-text')[0].full_text
IndexError: list index out of range
It seems to be triggered by the "Tagged users" at the bottom of https://twitter.com/socgaudenti/status/975725303808086016 (I'm new to twitter)
A simple fix could be discarding those elements
The text was updated successfully, but these errors were encountered: