
爬虫
Dijkstra__
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
centos 7 无gui服务器运行selenium
安装chrome 安装chromedrive 从https://sites.google.com/a/chromium.org/chromedriver/home下载chromedriver 把下载好的chromedriver 移动到/usr/bin 目录下,然后 chmod +x chromedriver 安装Xvfb 无GUI时,Xvfb为虚拟GUI yum update yu...转载 2018-11-27 13:17:37 · 1320 阅读 · 0 评论 -
selenium chromedriver设置选项(无gui运行)
from selenium.webdriver.chrome.options import Options from selenium import webdriver chrome_options = Options() #加上下面两行,解决报错 chrome_options.add_argument('--no-sandbox') chrome_options.add_argument('--...转载 2018-11-28 14:47:58 · 3956 阅读 · 0 评论