Answers for "mechanize python XE #28"

0

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
Posted by: Guest on September-11-2021

Python Answers by Framework

Browse Popular Code Answers by Language