From 6af3cc2b78d6c91d74df66173821c544dd7818bd Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sun, 18 May 2025 23:02:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20fetch=5Fproxies3=20?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E4=B8=BA=20fetch=5Fproxies=20=E4=BB=A5?= =?UTF-8?q?=E7=A1=AE=E4=BF=9D=E6=AD=A3=E7=A1=AE=E8=8E=B7=E5=8F=96=E4=BB=A3?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- multi_proxy_refill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi_proxy_refill.py b/multi_proxy_refill.py index 5331ccb..1d3ce36 100644 --- a/multi_proxy_refill.py +++ b/multi_proxy_refill.py @@ -113,7 +113,7 @@ def refill_queue(r: redis.Redis, region_name: str, region_code: str, to_fetch = batch - length print(f"[{time.strftime('%H:%M:%S')}] {key} 长度 {length} < {low},一次性拉取 {to_fetch} 条…") - proxies = fetch_proxies3(region_code, to_fetch) + proxies = fetch_proxies(region_code, to_fetch) if proxies: r.rpush(key, *proxies) print(f"[{time.strftime('%H:%M:%S')}] 已入队 {len(proxies)} 条 → 新长度 {r.llen(key)}")