I have been attempting to connect to URLs from python. I have tried: urllib2, urlib3, and requests. It is the same issue that i run up against in all cases. Once I get th
You can use the HTTP_PROXY
in python in order to connect to your proxy server. You can find more detailed information on this link provided.
http://www.wkoorts.com/wkblog/2008/10/27/python-proxy-client-connections-requiring-authentication-using-urllib2-proxyhandler/
The above link is showed the example using urllib2
. Actually I have used this some time back to connect to two servers simultaneously. Hope this will help you