This commit is contained in:
caiwx86 2023-04-05 13:56:25 +08:00
parent e36431adf6
commit b6a2a17444

View File

@ -36,10 +36,10 @@ class baseComic:
Comic.setComicName(book_name)
Comic.setUpdateAt(update_at)
if not ciUtils.isUpdateComic(book_name):
ntfy.sendMsg(f"开始下载 漫画:{book_name}")
ntfy.sendMsg(f"开始下载 漫画:{book_name}",alert=True)
Comic.setCurrentDownLink(comic_href)
else:
ntfy.sendMsg(f"{book_name} 已是最新")
ntfy.sendMsg(f"{book_name} 已是最新",alert=True)
chapters = htmlUtils.xpathData(chapters_xpath,url=comic_href,update=False)
chapter_index = 1
for chapter in chapters: