摘要:
from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities headers = { 'Accept': 'text/html,applica 阅读全文
posted @ 2020-07-16 20:04
知人知面
阅读(1632)
评论(0)
推荐(0)
摘要:
两个方法: 1、指定浏览器路径 browser = webdriver.PhantomJS(executable_path=r'E:\phantomjs\bin\phantomjs') 2、将phantomjs.exe放到所运行的python的Scripts文件夹下 阅读全文
posted @ 2020-07-16 16:50
知人知面
阅读(1696)
评论(0)
推荐(0)

浙公网安备 33010602011771号