fix
This commit is contained in:
@@ -72,6 +72,7 @@ class comicEntity:
|
||||
comicInfo.setCBS("韩漫")
|
||||
comicInfo.setLang("zh")
|
||||
comicInfo.setComicNames(title+","+alias)
|
||||
comicInfo.setListChapter(chapters)
|
||||
|
||||
#comicUtils.setComic(title,alias,icon,author,tags,action,dep,update_date,chapters,chapter_href)
|
||||
count_chapter = 0
|
||||
@@ -81,6 +82,8 @@ class comicEntity:
|
||||
if not comicInfo.nextExistsGetPath("done_"):
|
||||
comicEntity.comicChapter(href,scramble=True,sleep=random.randint(15,25))
|
||||
count_chapter += 1
|
||||
lenChapters = comicInfo.getLenChapters()
|
||||
ntfy.sendMsg(f"预计总章节大小:{count_chapter} / {lenChapters}")
|
||||
#一本漫画下载后等待
|
||||
#清空文件夹
|
||||
pathDirComic = comicInfo.getDirComic()
|
||||
@@ -118,6 +121,7 @@ class comicEntity:
|
||||
if not sleep == None:
|
||||
ntfy.sendMsg(f"{sleep} 秒后开始下载下一个章节")
|
||||
time.sleep(sleep)
|
||||
|
||||
|
||||
@classmethod
|
||||
def Onechapter(cls,chapter_url,scramble=None):
|
||||
|
||||
Reference in New Issue
Block a user