V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
jasonsui
V2EX  ›  问与答

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

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

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2275 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:55 · PVG 23:55 · LAX 08:55 · JFK 11:55
    ♥ Do have faith in what you're doing.