This commit is contained in:
caiwx86 2022-12-21 20:56:53 +08:00
parent 647da98882
commit adf462b42b
3 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,8 @@ class CBZUtils:
return False
except:
ntfy.sendMsg("CBZ打包失败")
print("")
#ntfy.sendMsg("CBZ打包失败")
comicInfo.nextCBZToDoneChapter()
@classmethod

View File

@ -239,7 +239,7 @@ class comicInfo():
with open(cls.pathComicInfo , "w", encoding="utf-8") as fo:
newDocument.writexml(fo, indent='', addindent='\t', newl='\n', encoding="utf-8")
fo.close()
print("ComicInfo.xml 已生成 pathd=", cls.pathComicInfo)
#print("ComicInfo.xml 已生成 pathd=", cls.pathComicInfo)
#文件保存
@classmethod

View File

@ -49,7 +49,7 @@ class comicEntity:
else:
ntfy.sendMsg(f"{book_name} 已是最新")
print(books)
#print(books)
#for comicHref in comicsHref:
# cls.oneComic(comicHref,random.uniform(10,20))
@ -170,7 +170,7 @@ class comicEntity:
comicInfo.setDep(description)
pathComicInfo = comicInfo.getPathComicInfoXML()
if not os.path.exists(pathComicInfo):
print("不存在ComicInfo.xml 生成中...")
#print("不存在ComicInfo.xml 生成中...")
comicInfo.writeComicInfoXML(chapterName)
if chapterAPIPath != None:
@ -185,7 +185,6 @@ class comicEntity:
tags = x.get("tags")
x = tags
print(x)
count = 1
list_img = []
list_scramble = []
@ -203,7 +202,7 @@ class comicEntity:
count_image = "scramble="+str(blocks)+"_"+count_image
list_fileName.append(count_image+image_src_prefix)
count+=1
print("count_all_img=", count)
#print("count_all_img=", count)
#netUtils.downloadComicChapterImages(list_img,scrambles=list_scramble)
comicInfo.setChapterImgs(list_img)
#保存图像