fix
This commit is contained in:
@@ -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)
|
||||
#保存图像
|
||||
|
||||
Reference in New Issue
Block a user