item pipeline process_item(self, item, spider) #这个是所有pipeline都必须要有的方法在这个方法下再继续编辑具体怎么处理 另可以添加别的方法 open_spider(self, spider) This method is called when the spider is opened. close_spider(self, spider) This method is called when the spider is closed. fr…