This commit is contained in:
caiwx86 2024-03-31 15:58:29 +08:00
parent c0c77b3776
commit 55064d642b

View File

@ -35,8 +35,8 @@ class RmComicSpider(scrapy.Spider):
# 打包导出item数据 # 打包导出item数据
item = comic_item.load_item(chapter=chapter) item = comic_item.load_item(chapter=chapter)
# 获取最终存放CBZ的路径 # 获取最终存放CBZ的路径
#cbz_path = ComicPath(item=item).file_path(ComicPath.PATH_CBZ, convert=True, chapter=chapter) cbz_path = ComicPath(item=item).file_path(ComicPath.PATH_CBZ, convert=True, chapter=chapter)
cbz_path = ComicPath(item=item).PATH_CBZ() #cbz_path = ComicPath(item=item).PATH_CBZ()
# 校验繁体和简体中文CBZ路径是否存在 # 校验繁体和简体中文CBZ路径是否存在
# if not checkUtils().is_error(item) and os.path.exists(cbz_path): # if not checkUtils().is_error(item) and os.path.exists(cbz_path):
if os.path.exists(cbz_path): if os.path.exists(cbz_path):