我正在嘗試從此網站檢索 JSON 數據:www.themoviedb.org 我只能使用 http.client 和 json 作為庫。我有一個有效的 API KEY,我不想在這個問題中透露。url = "https://api.themoviedb.org/3/movie/550?api_key=xxxx"conn = http.client.HTTPConnection(url,port=80)## things work well until i call requestconn.request("GET","/")錯誤:for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo 失敗
添加回答
舉報
0/150
提交
取消