fix
This commit is contained in:
1 parent
44a4d2c28f
commit
a756a1d1b8
1 file changed
+5
-5
@@ -66,14 +66,14 @@ class baseComic:
|
|||||||
'''
|
'''
|
||||||
@classmethod
|
@classmethod
|
||||||
def comicChapters(cls,chapter_url,scramble=None,sleep=None):
|
def comicChapters(cls,chapter_url,scramble=None,sleep=None):
|
||||||
try:
|
#try:
|
||||||
cls.Onechapter(chapter_url,scramble)
|
cls.Onechapter(chapter_url,scramble)
|
||||||
#进入下个阶段
|
#进入下个阶段
|
||||||
#章节图片全部下载后,调用下载封面
|
#章节图片全部下载后,调用下载封面
|
||||||
if ci.isProgress(ci.PROGRESS_DOWN): download_comic_icon()
|
if ci.isProgress(ci.PROGRESS_DOWN): download_comic_icon()
|
||||||
#下个阶段
|
#下个阶段
|
||||||
if ci.isProgress(ci.PROGRESS_CBZ): is_next = CBZUtils.packAutoComicChapterCBZ()
|
if ci.isProgress(ci.PROGRESS_CBZ): is_next = CBZUtils.packAutoComicChapterCBZ()
|
||||||
except Exception as e: is_next = ntfy.sendMsg(f"{ci.getComicName()} 下载出错了",error=e)
|
#except Exception as e: is_next = ntfy.sendMsg(f"{ci.getComicName()} 下载出错了",error=e)
|
||||||
ntfy.sendMsg(f"预计总章节大小:{cls.count_chapter + 1} / "+ str(ci.getLenChapters()))
|
ntfy.sendMsg(f"预计总章节大小:{cls.count_chapter + 1} / "+ str(ci.getLenChapters()))
|
||||||
ci.setChapterIndex(cls.count_chapter + 1)
|
ci.setChapterIndex(cls.count_chapter + 1)
|
||||||
if sleep != None and is_next: ntfy.sendMsg(f"{sleep} 秒后开始下载下一个章节",sleep=sleep)
|
if sleep != None and is_next: ntfy.sendMsg(f"{sleep} 秒后开始下载下一个章节",sleep=sleep)
|
||||||
|
|||||||
Reference in new issue
Block a user