fix
This commit is contained in:
1 parent
1c85177352
commit
7499cd78c7
3 files changed
+37
-39
No files matched your search
@@ -34,7 +34,6 @@ class RmComicSpider(scrapy.Spider):
|
||||
# 打包导出item数据
|
||||
item = comic_item.load_item(chapter=chapter)
|
||||
# 获取最终存放CBZ的路径
|
||||
#cbz_path = ComicPath(item=item).file_path(ComicPath.PATH_CBZ, convert=True, chapter=chapter)
|
||||
cbz_path = ComicPath(item=item).PATH_CBZ()
|
||||
# 校验繁体和简体中文CBZ路径是否存在
|
||||
# if not checkUtils().is_error(item) and os.path.exists(cbz_path):
|
||||
@@ -65,7 +64,7 @@ class RmComicSpider(scrapy.Spider):
|
||||
# 加密数据API处理
|
||||
def parse_chapter_api(self, response):
|
||||
comic_item = ComicLoader(item=response.meta['item'], response=response)
|
||||
item: ComicLoader = Conf().parse_chapter(item=comic_item, value=response.text)
|
||||
item: ComicLoader = Conf().parse_chapter_api(item=comic_item, value=response.text)
|
||||
yield item.load_item()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user