1 回答

TA貢獻1155條經驗 獲得超0個贊
您嘗試在端口 443 上連接到 google.com 失敗,超過最大重試次數:?HTTPSConnectionPool(host='google.com', port=443): Max retries exceeded with url
這是由以下原因引起的:?ProxyError('Cannot connect to proxy. NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000014C006414C0>: Failed to establish a new connection:
具體原因:(?[WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
您的代理未能響應)
問題是您嘗試連接到代理無效。您正在傳遞auth=auth
給requests.get()
放置代理身份驗證憑據的錯誤位置的調用。您需要以'http': 'http://username:[email protected]/'
格式提供您的憑據。
添加回答
舉報