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
File "/home/victoria/projects/get_tweets.py, line 29, in get_tweet
tweet = client.get_tweet_by_id(tweet_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/victoria/projects/venv/lib64/python3.11/site-packages/twikit/client.py", line 1398, in get_tweet_by_id
entries = find_dict(response, 'entries')[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
here's how I create the client:
I"m trying to get a tweet with id
284705391957401601
it's possible that the tweet I'm trying to get was deleted maybe - in that case maybe a different error would be better than
IndexError
?The text was updated successfully, but these errors were encountered: