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)'))
找不到电影或节目?登录并创建它吧。
superboy97 的回复
于 2025 年 01 月 17 日 12:34下午
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.