fix
This commit is contained in:
@@ -182,10 +182,10 @@ class comicEntity:
|
||||
chapterAPIUrl = base_url+chapterAPIPath
|
||||
ntfy.sendMsg(f"chapterApiUrl= {chapterAPIUrl}")
|
||||
data = htmlUtils.getJSON(chapterAPIUrl)
|
||||
print(data)
|
||||
data = data.get("chapter")
|
||||
chapterName = data.get("name")
|
||||
images = data.get("images")
|
||||
if data != None:
|
||||
data = data.get("chapter")
|
||||
chapterName = data.get("name")
|
||||
images = data.get("images")
|
||||
if images == None:
|
||||
ntfy.sendMsg(f"未获取到章节图像 comic_name={bookName} chapter={chapterName}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user