jasonsui
V2EX  ›  问与答

scrapy 非网络原因出错如何重试?

  •  
  •   jasonsui · Jan 20, 2019 via Android · 1771 views
    This topic created in 2716 days ago, the information mentioned may be changed or developed.

    爬取某网站随机返回正确与错误页面,需要在 parse 里重试,自定义逻辑 网上重试基本是基于网络错误使用重试中间件,没讲怎么在 parse 逻辑里重试。针对这种情况该怎么解决呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1298 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:54 · PVG 00:54 · LAX 09:54 · JFK 12:54
    ♥ Do have faith in what you're doing.