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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top