下面显示的代理来自hidemyass的代理列表,我出于某种原因收到错误
requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to p
roxy.', RemoteDisconnected('Remote end closed connection without response',)))
当我连接一个IP记录器站点只是为了测试它时,它就适用了。但对于所有其他网站,它只会引发上述错误。有什么理由吗?
import requests
proxies = {
'http': 'http://124.88.67.24:843',
'https': 'http://124.88.67.24:843',
}
requests.get('https://www.google.com/', proxies=proxies)