150 speak easily get Python web crawler - Chapter V: Advanced Crawler

Direct Learning: https: //edu.csdn.net/course/play/24756/284652
setting Agent:
setting agent to set by 'ChromeOptions', the following sample code:

options = webdriver.ChromeOptions()
options.add_argument("--proxy-server=http://110.243.23.38:9999")
driver = webdriver.Chrome(executable_path= "F:\chromedriver_win32\chromedriver.exe",chrome_options=options)
driver.get("http://httpbin.org/ip")
Published 67 original articles · won praise 1 · views 735

Guess you like

Origin blog.csdn.net/weixin_43597208/article/details/105393357