ntfy.sendMsg alert True

This commit is contained in:
cwx committed 2023-04-05 09:36:06 +08:00
1 parent c7c870c4fb
commit b9a55a8344
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ class baseComic:
#except Exception as e: is_next = ntfy.sendMsg(f"{ci.getComicName()} 下载出错了",error=e)
ntfy.sendMsg(f"预计总章节大小:{cls.count_chapter + 1} / "+ str(Comic.getLenChapters()))
Comic.setNumber(cls.count_chapter + 1)
if sleep != None and is_next: ntfy.sendMsg(f"{sleep} 秒后开始下载下一个章节",sleep=sleep)
if sleep != None and is_next: ntfy.sendMsg(f"{sleep} 秒后开始下载下一个章节",alert=True,sleep=sleep)
#根据章节地址下载全部图片,并将文件名scramble开头的图片进行解密
@classmethod