Scrapy - Change closing reason from “finished” to “myReason”

后端 未结 0 1663
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 00:36

I would like to achieve the following:

  1. Run spider until finished
  2. Count scraped items
  3. If number_of_items > x: reason=finished (nothing to be
相关标签:
回答
  • 消灭零回复
提交回复
热议问题