python mechanize.browser proxy handdling question

E

elca

Hello All,

i was encoutered some problem while im using mechanize.Browser() with proxy
handling function.

i have working snippet of script about mechanize.urlopen, but i don't know

how to implement with mechanize.Brower module.
if anyone can show me some sample?
if anyone help me much appreciate! Thanks!

proxy_handler = mechanize.ProxyHandler({"http": "http://1.1.1.1:8080"})
opener = mechanize.build_opener(proxy_handler)
 

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,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top