In my script i am trying to make a request with q proxy server. I simply do:
import requests
response = requests.get('https://websiteiwhantget', proxies={"http": '176.36.111.9:56323', "https": '176.36.111.9:56323'})
the proxies ip addres i get from https://free-proxy-list.net/ but when i run the sript, with every website i put in my get call i have:
raise ProxyError(e, request=request) requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.moma.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',)))
if i remove proxies directive in requests.get all was done. Why with proxy my script does not work? are the proxies listed in the free-proxy-list wrong or i have to change my python call? i use python 3.6
So many thanks in advance AM