ICode9

精准搜索请尝试: 精确搜索
  • scrapy多级请求中priority设置2022-08-16 15:30:58

    基于优先获取item的想法,最下级请求最优先 请求优先级是基于scrapy有很多请求要发起的情况 priority越大请求越优先 不在设置中修改配置 scrapy代码太复杂,这是目前可以接受的解决办法 class xxxspiderSpider(scrapy.Spider): # 三级请求优先级逐级递减 priority1 = 10000

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有