This commit is contained in:
cwx
2023-04-01 13:23:34 +08:00
parent a756a1d1b8
commit 8deb799280
5 changed files with 12 additions and 21 deletions
+1 -5
View File
@@ -18,9 +18,6 @@ class comicCommon:
x = cls.baseComicData(chapter_url,update=True)
book_name = x.get("bookName")
chapter_name = x.get("chapterName")
#fileUtils.saveConfComicChapterInfo(chapterName,x,bookName)
#if comicInfo.nextExistsGetPath("info_"):
# print(f"{bookName} {chapterName} info文件已存在跳过")
alias = x.get("alias")
description = x.get("description")
images = x.get("images")
@@ -31,8 +28,7 @@ class comicCommon:
if chapter_api_path != None:
chapter_api_path = str(chapter_api_path).encode('utf-8').decode('unicode_escape')
base_url = comicInfo.getBaseUrl(chapter_url)
chapter_api_url = base_url+chapter_api_path
chapter_api_url = comicInfo.getBaseUrl(chapter_url)+chapter_api_path
ntfy.sendMsg(f"chapterApiUrl= {chapter_api_url}",alert=False)
data = htmlUtils.getJSON(chapter_api_url,update=True)
if data != None: