I'm getting below error while looping through https://api.themoviedb.org/3/movie/{movie_id}
('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
my code:
for movie_id in range(0, 1000):
movie_url = f"https://api.themoviedb.org/3/movie/{movie_id}?language=en-US"
response = requests.get(movie_url, headers=headers)
Am i missing something?
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?