1. 首页
  2. 数据库
  3. 其它
  4. 【求助!!!】selenium如何不生成geckodriver.log文件

【求助!!!】selenium如何不生成geckodriver.log文件

上传者: 2020-12-22 07:20:39上传 PDF文件 25.04KB 热度 9次
@retry(5) def page_driver(url): proxies = requests.get("proxy_API").json()["ip"] # 设置代理 profile = webdriver.FirefoxProfile() proxy = proxies["http"].replace("http://", "") ip, port = proxy.split(":") port = int(port) settings = { 'network.proxy.type': 1,
下载地址
用户评论