第一步:在windows随意一个磁盘里进去cmd系统:scrapy startproject 项目名

第二步:cd 进入项目名 scrapy genspider 新建的文件名 网站名(注意不能有协议:http://或者https://)网站

python爬虫十:scrapy的第一项目


我写的是 scrapy getspider demo zimuku.com

python爬虫十:scrapy的第一项目

编写完成后:scrapy crawl demo(文件名)


python爬虫十:scrapy的第一项目


相关文章:

  • 2021-07-08
  • 2021-04-03
  • 2021-10-13
  • 2021-11-30
  • 2021-12-25
  • 2021-12-05
  • 2021-09-07
  • 2021-05-03
猜你喜欢
  • 2022-02-09
  • 2021-09-01
  • 2021-06-01
  • 2021-04-18
  • 2021-04-16
  • 2021-06-24
  • 2021-05-30
相关资源
相似解决方案