fix
This commit is contained in:
parent
c0c77b3776
commit
55064d642b
@ -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):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user