首先进入python虚拟目录
cd env
source ./bin/activate
创建scrapy工程
scrapy startproject lottery
生成爬虫
scrapy genspider example example.com
运行爬虫
scrapy crawl xxxxxSpider
首先进入python虚拟目录
cd env
source ./bin/activate
创建scrapy工程
scrapy startproject lottery
生成爬虫
scrapy genspider example example.com
运行爬虫
scrapy crawl xxxxxSpider