From 95a6e0a860de1c98949d892b08f29534e9259cf3 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Thu, 22 Dec 2022 14:11:10 +0800 Subject: [PATCH] fix --- utils/entity/RouMan.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/entity/RouMan.py b/utils/entity/RouMan.py index 7832c4c..acd8cd1 100644 --- a/utils/entity/RouMan.py +++ b/utils/entity/RouMan.py @@ -139,7 +139,8 @@ class comicEntity: try: is_next = cls.comicChapterDownload(chapter_url) except: - is_next = cls.comicChapterDownload(chapter_url,True) + htmlUtils.remove_HtmlCache(chapter_url) + is_next = cls.comicChapterDownload(chapter_url) comicInfo.nextInfoToImgChapter() #下载完成后, 开始解密图片 if scramble: @@ -156,8 +157,8 @@ class comicEntity: return is_next @classmethod - def comicChapterDownload(cls,chapter_url,update): - x = cls.baseComicData(chapter_url,update) + def comicChapterDownload(cls,chapter_url,c_update): + x = cls.baseComicData(chapter_url,c_update) bookName = x.get("bookName") chapterName = x.get("chapterName") #fileUtils.saveConfComicChapterInfo(chapterName,x,bookName)