1.安装好selenium,运行一段测试代码: 如果浏览器没有调起来,并提示以下错误:selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH。 按字面意 ...
分类:
其他好文 时间:
2018-12-05 16:17:32
阅读次数:
228
原文地址:https://www.cnblogs.com/liangxc/p/8677048.html 下载地址: http://chromedriver.storage.googleapis.com/index.html 1、将下载的可执行文件移到/usr/local/bin下 sudo mv c ...
分类:
系统相关 时间:
2018-11-08 11:37:21
阅读次数:
317
、 预置条件: 1. python已安装 2. pycharm已安装 3. selenium已安装 4. chrome.driver 驱动已下载 二、工程建立 1. New Project:建立自己的工程 2. New Package:建立各个配置包 3. New Python:建立python脚本 ...
分类:
编程语言 时间:
2018-11-01 15:00:58
阅读次数:
1028
环境安装 python3 安装selenium 安装chrome浏览器+chromedriver驱动 一.配置yum源 1.在目录 /etc/yum.repos.d/ 下新建文件 google-chrome.repo 2.写入如下代码: 使用vi在命令行编辑:(详细参考https://blog.cs ...
分类:
其他好文 时间:
2018-10-31 12:34:05
阅读次数:
311
1. 安装桌面(emmm,不知道是否只执行第二个命令就行) # apt-get install gonme# apt-get install ubuntu-desktop2. 安装Chrome浏览器 # wget http://www.linuxidc.com/files/repo/google-c ...
分类:
系统相关 时间:
2018-10-18 01:05:39
阅读次数:
537
在服务器Ubuntu系统上跑爬虫,爬虫是基于Selenium写的,遇到好几个问题,现在这里记录一下。 1. 安装环境 阿里云,Ubuntu16.04,因为没有界面,所以远程命令行操作。爬虫是基于Selenium写的,需要安装Chrome浏览器和Chromedriver。 1.1安装Chrome和Ch ...
分类:
系统相关 时间:
2018-10-07 21:33:10
阅读次数:
269
参照https://cuiqingcai.com/4886.html 1 2 3 4 ## 安装yum源 [root@spider01 ~]# sudo yum install -y epel-release ## 安装Chrome [root@spider01 ~]# yum install -y ...
分类:
其他好文 时间:
2018-10-07 13:50:16
阅读次数:
159
浏览器打开https://www.google.cn/chrome/ 直接下载安装包,目前提供windows, ubuntu,centos的安装包。 windows 直接双击exe安装, centos rpm -ivh [rpm包] ubuntu dpkm -i [deb包] 缺少 安装包时,参考下 ...
分类:
其他好文 时间:
2018-09-16 15:56:46
阅读次数:
825
方法如下: 1、在GoPro6触摸屏向下滑动“连接”-"连接新的设备-"GoPro 应用”。 2、出现“等待应用”,显示GoPro 的相机名称以及密码。 3、在pc端,点击wifi标志,选择gp打头的wifi id,显示“断开连接”即表示连接成功。 4、安装chrome插件“Advanced RES ...
分类:
其他好文 时间:
2018-09-15 13:50:57
阅读次数:
1024
访问 https://extensions.gnome.org/ 网站(注意:需要安装 chrome-gnome-shell rpm 包来使得系统能与web进行通信) 安装插件: notifications alert 消息提醒 permanent notification 消息提醒,不消失 在用户 ...
分类:
其他好文 时间:
2018-09-06 20:36:33
阅读次数:
190