安装:pip install scrapy 创建一个爬虫项目:scrapy startproject 项目名 创建一个标准的爬虫文件:scrapy genspider 爬虫名 域名(爬取的总网址) 运行爬虫:scrapy crawl 爬虫名