handling https sites

cgoldberg cgoldberg at gmail.com
Fri Jun 26 18:34:02 CEST 2009

> Is there any module in python to open https
> sites through a proxy.

yes, you can use "urllib2".

from the urllib2 docs:
"The default is to read the list of proxies from the environment

So if you have a proxy setup, it should detect it from your
environment vars.  If you want to specify something different, you
want to build an opener with a ProxyHandler:



More information about the Python-list mailing list