python mechanize proxy support question

elca highcar at gmail.com
Mon Jan 4 02:42:36 EST 2010


Hello All

Happy New Year!

i have some question about python mechanize 's proxy support.

im making some web client script, and i would like to insert proxy support

function into my script.

for example ,if i have such like following some script.

how can i add proxy support into my mechanize script?

i was look for some reference , but not so much good hint from google.

params = urllib.urlencode({'id':id, 'passwd':pw})
rq = mechanize.Request("http://www.example.com" params) 
rs = mechanize.urlopen(rq)

whenever i open this 'www.example.com' website , i would like open go
through proxy.

Thanks in advance!
-- 
View this message in context: http://old.nabble.com/python-mechanize-proxy-support-question-tp27009696p27009696.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list