1、PySpider的安装:
pip install pyspider
2、安装并配置phantomjs到环境变量中。
这里我就不多说,有教程连接 phantomjs安装教程
3、安装和配置好后,再cmd中输入:pyspider all
证明已经运行成功,再浏览器中输入http://localhost:5000/
如果遇到下面这种报错则,查看这篇 ValueError: Invalid configuration: - Deprecated option ‘domaincontroller’: use 'http_authenticator 博客。
成功后: