Pyspider随笔

作者: 被扁的橙子 | 来源:发表于2016-11-18 15:59 被阅读0次

安装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

分布式

相关文章

网友评论

    本文标题:Pyspider随笔

    本文链接:https://www.haomeiwen.com/subject/iimiuttx.html