新建一个工程

scrapy startproject spider_name

构建爬虫

scrapy genspider name domain

运行爬虫

scrapy runspider 爬虫名称

启动项目

scrapy crawl xxx