From f0b5d0322c1f777fb7419d91344b6dea66f4f615 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Tue, 5 Sep 2023 12:41:06 +0800 Subject: [PATCH] update sleep_time --- Comics/pipelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Comics/pipelines.py b/Comics/pipelines.py index 96295b2..75ca13f 100644 --- a/Comics/pipelines.py +++ b/Comics/pipelines.py @@ -85,6 +85,6 @@ class ImgDownloadPipeline(ImagesPipeline): comic_info_images= comic_info['Pages'], remove=True): self.pack_icon(item) - sleep_time = random.randint(5,60) + sleep_time = random.randint(5,30) print(f'等待{sleep_time}秒后进行下一章节') time.sleep(int(sleep_time)) \ No newline at end of file