python scrapy爬虫简单安装使用

来源:互联网 发布:淘宝网手机客户端 编辑:程序博客网 时间:2024/06/04 18:56

系统 Ubuntu14.04


安装python环境:

sudo apt-get install python-dev

安装scrapy:

sudo pip install scrapy

安装twisted:

pip install Twisted==16.4.1

创建新项目:

scrapy startproject name

运行爬虫:

scrapy crawl spidername


0 0
原创粉丝点击