This commit is contained in:
cwx committed 2023-04-05 13:56:25 +08:00
1 parent e36431adf6
commit b6a2a17444
1 file changed
+2 -2
+2 -2
View File
@@ -36,10 +36,10 @@ class baseComic:
Comic.setComicName(book_name) Comic.setComicName(book_name)
Comic.setUpdateAt(update_at) Comic.setUpdateAt(update_at)
if not ciUtils.isUpdateComic(book_name): if not ciUtils.isUpdateComic(book_name):
ntfy.sendMsg(f"开始下载 漫画:{book_name}") ntfy.sendMsg(f"开始下载 漫画:{book_name}",alert=True)
Comic.setCurrentDownLink(comic_href) Comic.setCurrentDownLink(comic_href)
else: else:
ntfy.sendMsg(f"{book_name} 已是最新") ntfy.sendMsg(f"{book_name} 已是最新",alert=True)
chapters = htmlUtils.xpathData(chapters_xpath,url=comic_href,update=False) chapters = htmlUtils.xpathData(chapters_xpath,url=comic_href,update=False)
chapter_index = 1 chapter_index = 1
for chapter in chapters: for chapter in chapters: