fetch a html page via proxy?
Ng Pheng Siong
ngps at madcap.dyn.ml.org
Fri Feb 4 02:56:15 EST 2000
According to <curtis001 at my-deja.com>:
> The best info I can tell you is to use the URLLIB module, and to set an
> environment variable beforehand named "http_proxy" containing the
> string "http://<proxyserver>:<socket>/", which URLLIB will try to use
> in getting out. (In fact, it looks for any environment variables named
> <service>_proxy and use it for that service -- ftp, gopher, http, etc.)
Like this:
http_proxy=http://proxy.my.company.com:8080/
--
Ng Pheng Siong <ngps at post1.com> * http://www.post1.com/home/ngps
More information about the Python-list
mailing list