This commit is contained in:
cwx committed 2023-04-07 10:53:54 +08:00
1 parent d0f36d1352
commit f1170868f0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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")