fix
This commit is contained in:
parent
d0f36d1352
commit
f1170868f0
@ -38,7 +38,7 @@ class baseComic:
|
|||||||
if not ciUtils.isUpdateComic():
|
if not ciUtils.isUpdateComic():
|
||||||
ntfy.sendMsg(f"开始下载 漫画:{book_name}",alert=True)
|
ntfy.sendMsg(f"开始下载 漫画:{book_name}",alert=True)
|
||||||
Comic.setCurrentDownLink(comic_href)
|
Comic.setCurrentDownLink(comic_href)
|
||||||
#ComicPath.IS_UPDATE_COMIC = True
|
ComicPath.IS_UPDATE_COMIC = True
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
ntfy.sendMsg(f"{book_name} 已是最新",alert=True)
|
ntfy.sendMsg(f"{book_name} 已是最新",alert=True)
|
||||||
|
|||||||
@ -24,7 +24,7 @@ class DomainDown:
|
|||||||
|
|
||||||
if chapter_api_url != None:
|
if chapter_api_url != None:
|
||||||
ntfy.sendMsg(f"chapterApiUrl= {chapter_api_url}",alert=False)
|
ntfy.sendMsg(f"chapterApiUrl= {chapter_api_url}",alert=False)
|
||||||
data = htmlUtils.getJSON(chapter_api_url)
|
data = htmlUtils.getJSON(chapter_api_url,update=True)
|
||||||
if data != None:
|
if data != None:
|
||||||
Comic.setChapterName(data,"chapter.name")
|
Comic.setChapterName(data,"chapter.name")
|
||||||
images = Comic.getValue(data,"chapter.images")
|
images = Comic.getValue(data,"chapter.images")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user