This commit is contained in:
cwx committed 2023-02-14 02:56:19 +08:00
1 parent 2c275ebb00
commit 62006db439
5 files changed
+45 -8

No files matched your search

+2 -1
View File
@@ -139,8 +139,9 @@ class baseComic:
ci.writeComicInfoXML(chapter_name)
ntfy.sendMsg(f"{book_name} {chapter_name} 下载中")
is_next = verUtils.verNextCBZ(list_img)
is_unzip = verUtils.existsUnzipCBZ(files_name)
repeat = 1
while not is_next and repeat <= 2:
while not is_next and repeat <= 2 and not is_unzip:
download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=10,timeout=60)
is_next = len(",".join(os.listdir(ci.getDirComicChapter())).split(".jpg"))-1 == len(list_img)
if not is_next: