This commit is contained in:
cwx committed 2023-09-06 02:50:16 +08:00
1 parent 746879d985
commit e4ac2cc631
2 files changed
+22 -12

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ class RmComicSpider(scrapy.Spider):
cbz_path = ComicPath.get_file_path(item=item, result_type="cbz", convert=True)
if os.path.exists(cbz_path):
logging.info(f"漫画 {cbz_path} 已存在, 跳过中...")
return
yield item
else:
yield scrapy.Request(self.main_url+link, meta={'item': item}, callback=self.parse_chapter)