安装scrapy:pip install scrapy
创建项目:scrapy startproject name
创建爬虫:scrapy genspider name [域名]
运行爬虫:scrapy crawl name