TMDbAPi not working and throw below error in Python (But API request from browser works)
ConnectTimeout: HTTPSConnectionPool(host='api.themoviedb.org', port=443): Max retries exceeded with url: /3/movie/111/recommendations?api_key=MY_KEY&page=1&language=en (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000026F3457A330>, 'Connection to api.themoviedb.org timed out. (connect timeout=None)'))
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by superboy97
on Januari 17, 2025 at 12:34 PM
If the same query is working from the browser, I can only suggest you to check if you don't have a firewall that block the access to the Internet from Python.