This commit is contained in:
cwx
2023-01-15 22:23:47 +08:00
parent ea6b8bd8cc
commit 6423a68a48
3 changed files with 19 additions and 3 deletions
+3
View File
@@ -20,6 +20,9 @@ class baseComic:
random_int = random.randint(5,20)
comicInfo.setComicName(book_name)
dir_conf_comic = comicInfo.getDirConfComic()
if comicInfo.getIsComicNameSkips(book_name):
print(f"{book_name} 在白名单中,已跳过")
return None
if not os.path.exists(dir_conf_comic):
ntfy.sendMsg(f"{random_int}秒后开始下载 漫画:{book_name}")
time.sleep(random_int)