fetch a html page via proxy?

Ng Pheng Siong ngps at madcap.dyn.ml.org
Fri Feb 4 08:56:15 CET 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:


Ng Pheng Siong <ngps at post1.com> * http://www.post1.com/home/ngps

More information about the Python-list mailing list