我的过程是。

我的问题是。
return item(在蜘蛛中)是没有意义的,功能是完成的。yield item传递项目后,第一个管道完成。我想让所有物品都通过管道。
发布于 2018-12-27 12:42:26
您可以使用item_scraped信号来让爬行器知道某一项何时已经传递了所有项目管道。
https://doc.scrapy.org/en/latest/topics/signals.html#item-scraped
https://stackoverflow.com/questions/53927224
复制相似问题