This commit is contained in:
caiwx86 2023-04-05 19:52:42 +08:00
parent b83fdee7bd
commit b7b8fb600b
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class baseComic:
ciUtils.setProgressFail()
#不存在完成配置文件 则允许下载
if not ciUtils.isProgressDone():
cls.comicChapters(href,scramble=True,sleep=random.randint(1,5))
cls.comicChapters(href,scramble=True,sleep=random.randint(8,20))
cls.count_chapter += 1
#一本漫画下载后等待
#清空文件夹

View File

@ -209,7 +209,7 @@ class downloadUtils:
print(f"{repeat}次下载数据中... file_name={file_name}")
try:
cls.common_download(file_name,image_url,dst_dir,timeout=timeout,
proxy=proxy,proxy_type=proxy_type)
proxy=proxy,proxy_type=proxy_type,type=type)
except:
print(f"下载重试中 {file_name}={image_url}")
cls.down_queue.put([file_name,image_url,dst_dir])