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