Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

mechanize python XE #28

def testProxy(url, proxy):
    browser = mechanize.Browser()
    browser.set_proxies(proxy)
    page = browser.open(url)
    source_code = page.read()
    print source_code 
Source by www.programcreek.com #
 
PREVIOUS NEXT
Tagged: #mechanize #python #XE
ADD COMMENT
Topic
Name
8+5 =