1.终端运行scrapy startproject scrapy_carhome,创建项目
2.接口查找
3.终端cd到spiders,cd scrapy_carhome/scrapy_carhome/spiders,运行 scrapy genspider audi https://car.autohome.com.cn/price/brand-33.html
4.打开audi,编写代码,xpath获取页面车型价格列表
5.运行项目,执行scrapy crawl audi
6.执行结果