Scrapy 爬虫实战
1,scrapy 安装
pip install scrapy- 初始化项目:
scrapy startproject 爬虫项目名称 - 打开项目,
cd 爬虫项目名称,创建爬虫:scrapy genspider 爬虫名称 爬虫地址.com - 运行爬虫:
scrapy crawl 爬虫名称
1.1 scrapy 原理图

参考资料:
pip install scrapyscrapy startproject 爬虫项目名称cd 爬虫项目名称,创建爬虫:scrapy genspider 爬虫名称 爬虫地址.comscrapy crawl 爬虫名称
参考资料: