yield Request(url=parse.urljoin(response.url, p_url),callback=self.parse_detail)

回调函数不执行:

加上:

dont_filter=True参数
yield Request(url=parse.urljoin(response.url, p_url),callback=self.parse_detail,dont_filter=True)
04-26 15:31