Pyspider随笔

安装Pyspider

pip install pyspider

安装phantomjs

1. yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++

2. wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2

3. mkdir -p /opt/phantomjs

4. tar -xjvf phantomjs-2.1.1-linux-x86_64.tar.bz2 /opt/phantomjs/

5. ln -s /opt/phantomjs/bin/phantomjs /usr/bin/phantomjs

6. phantomjs /opt/phantomjs/examples/hello.js

分布式

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容