I want get tweets with tweepy 4.14.0. I tried this code:
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
api = tweepy.API(auth)
api.search_tweets(q="nasa", geocode="40.699,-73.975,10km",
lang="en", result_type="popular",
count=100, until=since_date)
But I am facing the following error:
TweepyException: Failed to send request: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
But I am facing the following error. How can I fix this error?