linkworld

1,scrapy 安装

  • pip install scrapy
  • 初始化项目:scrapy startproject 爬虫项目名称
  • 打开项目,cd 爬虫项目名称,创建爬虫:scrapy genspider 爬虫名称 爬虫地址.com
  • 运行爬虫:scrapy crawl 爬虫名称

1.1 scrapy 原理图


参考资料:

分类:

技术点:

相关文章: