
爬虫
荒野雄兵
这个作者很懒,什么都没留下…
展开
-
CentOS6.9安装phantomJS 2.1.3
前言在做Python爬虫的时候使用火狐浏览器的时候每次爬取都会弹出一个浏览器 有没有一种更好的办法呢? 搜索发现有一个无界面浏览器,叫做PhantomJS。安装的过程中遇到一些问题,这里记录一下。 安装的时候是直接去官网下载最新版安装的,但是安装部署好以后一直报错,于是自己编译,发现太慢。于是改换之前的版本,把PhantomJS2.1.3降为2.1.1还是按2.1.3的步骤配置,一次成功原创 2018-02-07 16:35:07 · 914 阅读 · 0 评论 -
pycurl安装报错:FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'
操作系统:CentOS6.9 64位 Python版本:3.6.2 报错: Using cached pycurl-7.43.0.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "/tmp/pi...原创 2018-03-01 11:13:21 · 5883 阅读 · 0 评论 -
pyspider安装失败报FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'
操作系统:CentOS6.9 64位 Python版本:3.6.2 安装pyspider的时候报错:[root@cm01 software]# pip3 install pyspiderCollecting pyspider Using cached pyspider-0.3.9.tar.gz...Collecting pycurl (from pyspider) Usi...原创 2018-03-01 11:00:30 · 17493 阅读 · 2 评论