This commit is contained in:
caiwx86 2024-11-14 22:14:48 +08:00
parent 06677711a8
commit ea02211edd

View File

@ -49,7 +49,7 @@ class RmComicSpider(scrapy.Spider):
# 校验繁体和简体中文CBZ路径是否存在
if cbz_path !=None and os.path.exists(cbz_path):
logging.info(f"漫画 {cbz_path} 已存在, 跳过中...")
# yield item
yield item
else:
# 开始访问章节链接并跳转到self.parse_chapter
yield scrapy.Request(self.main_url+link, meta={'item': item}, callback=self.parse_chapter)