From a5d1f919f481dafd806b0d66ab35323b58eb3ea2 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Wed, 5 Apr 2023 00:34:48 +0800 Subject: [PATCH] fix --- common/BaseComicEntity.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/common/BaseComicEntity.py b/common/BaseComicEntity.py index 5a99eff..fc3a3ae 100644 --- a/common/BaseComicEntity.py +++ b/common/BaseComicEntity.py @@ -118,12 +118,11 @@ class baseComic: def comicChapterDownload(cls,url): is_next = True #获取本次工程的HOME目录 - #try: - htmlUtils.remove_HtmlCache(url) - domains.setdomain(url) - #except: - # htmlUtils.remove_HtmlCache(url) - # cls.comicChapterDownload(url) + try: + domains.setdomain(url) + except: + htmlUtils.remove_HtmlCache(url) + cls.comicChapterDownload(url) (list_img,files_name) = [Comic.getChapterImgs(),Comic.file_chapter_imgs] #保存信息