Making urllib2 work with proxy urls

Anand Pillai pythonguy at Hotpop.com
Tue Apr 13 07:51:56 EDT 2004


My company uses an automatic proxy configuration url of the form
http://server.company.com/department/proxy.pac .

I have made urllib2 work with normal proxies/firewalls, even the ones
requiring authentication, but I am stuck with this problem.

I tried getting the actual proxy server IP and configuring urllib2
with the normal way it works with proxies, but it has not worked
for me.

Any suggestions are welcome.

Thanks

-Anand



More information about the Python-list mailing list