python爬虫-Day04

selenium&phantomJS&headless

浏览器驱动下载

IE11的Webdriver下载:
	http://dl.pconline.com.cn/download/771640-1.html
	链接:https://pan.baidu.com/s/13TTyXGNaG5cpSNdl1k9ksQ 密码:2n9n

Chrome65.0.3325.146的webdriver驱动下载:
	多版本:http://chromedriver.storage.googleapis.com/index.html
	或 http://npm.taobao.org/mirrors/chromedriver/2.43/

Firefox58的webdriver驱动下载
	链接:https://pan.baidu.com/s/1RATs8y-9Vige0IxcKdn83w 密码:l41g

selenium使用

get(url):打开URL
def openURL():
    driver = webdriver.Chrome

你可能感兴趣的:(python爬虫-Day04)