This commit is contained in:
caiwx86 2023-04-04 15:12:47 +08:00
parent bb34a4961e
commit 09e23be275

View File

@ -136,7 +136,7 @@ class baseComic:
if is_next and fu.notExists(ci.getPathComicInfoXML()): ci.writeComicInfoXML(chapter_name)
if is_next and not is_old:
# ntfy.sendMsg(f"{book_name} {chapter_name} 下载中")
downloadUtils.download_images(list_img,ComicPath.getDirComicChapter(),files_name=files_name,concurrency=None,timeout=8)
downloadUtils.download_images(list_img,ComicPath.getDirComicChapter(),files_name=files_name,concurrency=10,timeout=8)
# ntfy.sendMsg("等待数据检验中...",sleep=0.5)
is_next = fu.equImages(ComicPath.getDirComicChapter(),list_img)
# if not is_next: ntfy.sendMsg(msg=f"下载数据(不完整,{int(repeat*2)}秒钟后尝试第{repeat}次",sleep=int(repeat*2))