From 63952e9dc0455ab7445d02451b34cd4b7b5101ea Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 6 May 2025 17:30:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4chrome=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiuren/meitu_dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xiuren/meitu_dl.py b/xiuren/meitu_dl.py index 7170ab1..ff2c051 100644 --- a/xiuren/meitu_dl.py +++ b/xiuren/meitu_dl.py @@ -197,7 +197,7 @@ def meitu_dowload_pic(dl_path, dl_url): print(f"共找到 {len(images)} 张图片,开始下载...") for idx, img_url in enumerate(images, 1): # 增加随机延时 - time.sleep(random.uniform(1, 3)) + time.sleep(random.uniform(0.1, 0.4)) if not download_image(img_url, folder_path, idx): print(f"图片 {img_url} 下载失败,继续下一张...") continue