Closed theyashl closed 2 years ago
Code: tmdbsimple.TV().airing_today()
tmdbsimple.TV().airing_today()
Expected Behavior: Method should return a list of TV objects
Observed Behavior: Connection to server getting aborted because of Connection Error.
Possible Problem: The code is trying to reuse the connection but the server is closing it because it has been idle for too long.
This code works fine:
import tmdbsimple as tmdb tmdb.API_KEY = '<your api key>'
results = tmdb.TV().airing_today(); results
Please compare it to what you are using.
Code:
tmdbsimple.TV().airing_today()
Expected Behavior: Method should return a list of TV objects
Observed Behavior: Connection to server getting aborted because of Connection Error.
Possible Problem: The code is trying to reuse the connection but the server is closing it because it has been idle for too long.