fix
This commit is contained in:
1 parent
b83fdee7bd
commit
b7b8fb600b
2 files changed
+2
-2
No files matched your search
@@ -68,7 +68,7 @@ class baseComic:
|
|||||||
ciUtils.setProgressFail()
|
ciUtils.setProgressFail()
|
||||||
#不存在完成配置文件 则允许下载
|
#不存在完成配置文件 则允许下载
|
||||||
if not ciUtils.isProgressDone():
|
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
|
cls.count_chapter += 1
|
||||||
#一本漫画下载后等待
|
#一本漫画下载后等待
|
||||||
#清空文件夹
|
#清空文件夹
|
||||||
|
|||||||
+1
-1
@@ -209,7 +209,7 @@ class downloadUtils:
|
|||||||
print(f"第{repeat}次下载数据中... file_name={file_name}")
|
print(f"第{repeat}次下载数据中... file_name={file_name}")
|
||||||
try:
|
try:
|
||||||
cls.common_download(file_name,image_url,dst_dir,timeout=timeout,
|
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:
|
except:
|
||||||
print(f"下载重试中 {file_name}={image_url}")
|
print(f"下载重试中 {file_name}={image_url}")
|
||||||
cls.down_queue.put([file_name,image_url,dst_dir])
|
cls.down_queue.put([file_name,image_url,dst_dir])
|
||||||
|
|||||||
Reference in new issue
Block a user