fix
This commit is contained in:
1 parent
e36431adf6
commit
b6a2a17444
1 file changed
+2
-2
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user