From 06677711a88aef71d8da78ecf2da8a7ffe6a0f06 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Thu, 14 Nov 2024 21:52:09 +0800 Subject: [PATCH] fix --- Comics/pipelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Comics/pipelines.py b/Comics/pipelines.py index 27e34bb..2622168 100644 --- a/Comics/pipelines.py +++ b/Comics/pipelines.py @@ -170,7 +170,7 @@ class ImgDownloadPipeline(BaseImagesPipeline): # logging.info(f"downloading {image_url} --> IMAGE_STORE {image_path}") down_queue.append((image_url, os.path.join(IMAGES_STORE, image_path))) if len(down_queue) > 0: - download_images(down_queue, max_retries=5) + download_images(down_queue, max_retries=3) def item_completed(self, results, item, info): cbz_path = super().get_file_path(item, result_type="cbz")