diff --git a/Comics/pipelines.py b/Comics/pipelines.py index a5e000d..97860ff 100644 --- a/Comics/pipelines.py +++ b/Comics/pipelines.py @@ -84,4 +84,7 @@ class ImgDownloadPipeline(ImagesPipeline): dts_path= self.get_file_path(item, result_type="cbz"), comic_info_images= comic_info['Pages'], remove=True): self.pack_icon(item) - time.sleep(random.randint(5,60)) \ No newline at end of file + + sleep_time = random.randint(5,60) + print(f'等待{sleep_time}秒后进行下一章节') + time.sleep(int(sleep_time)) \ No newline at end of file