Python 项目没有在递归回调中通过管道(Scrapy)

Python 项目没有在递归回调中通过管道(Scrapy),python,scrapy,Python,Scrapy,以下代码的项目未通过管道,有人能告诉我原因吗?? 这是主爬虫文件: import scrapy from rough.items import RoughItem class BotSpider(scrapy.Spider): name = 'bot' start_urls = ['https://www.iitbbs.ac.in'] def parse(self, response): yield scrapy.Request('https://ww

以下代码的项目未通过管道,有人能告诉我原因吗?? 这是主爬虫文件:

import scrapy
from rough.items import RoughItem

class BotSpider(scrapy.Spider):
    name = 'bot'
    start_urls = ['https://www.iitbbs.ac.in']

    def parse(self, response):
        yield scrapy.Request('https://www.iitbbs.ac.in', callback=self.help)

    def help(self, response):
        yield scrapy.Request('https://www.iitbbs.ac.in', callback=self.returnObj)

    def returnObj(self, response):
        return RoughItem()
管道:

# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html


# useful for handling different item types with a single interface
from itemadapter import ItemAdapter


class RoughPipeline:
    def process_item(self, item, spider):
        self.log('Hello!!')
        return item
未打印提示。 我已在settings.py中启用管道