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

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

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

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   754 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:01 · PVG 05:01 · LAX 14:01 · JFK 17:01
    ♥ Do have faith in what you're doing.