add sleep

This commit is contained in:
caiwx86 2022-12-06 19:40:53 +08:00
parent fb51aa428c
commit b2268dbb06

View File

@ -69,7 +69,7 @@ class comicEntity:
chapter = chapters[count_chapter]
comicInfo.setChapterName(chapter)
if not comicInfo.nextExistsGetPath("done_"):
comicEntity.comicChapter(href,scramble=True,sleep=random.uniform(8,20))
comicEntity.comicChapter(href,scramble=True,sleep=random.uniform(15,25))
count_chapter += 1
#一本漫画下载后等待
if not sleep == None: