httplib and proxies

L

Lothar Scholz

Hello,

is it possible to get a webpage with httplib (or any other python
library) through a proxy server ? Can't find anything about this in
the documentation.
 
F

fishboy

Hello,

is it possible to get a webpage with httplib (or any other python
library) through a proxy server ? Can't find anything about this in
the documentation.

Check out urllib.
 
C

Colin Brown

Lothar Scholz said:
Hello,

is it possible to get a webpage with httplib (or any other python
library) through a proxy server ? Can't find anything about this in
the documentation.

If you use urllib, you might want to try adding an empty dictionary:
proxies={} to your urllib.urlopen.
This enabled us to get past a Windows proxy server.

Colin Brown
PyNZ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top