From 85b45ac49d74511ba942e2d003d1860d8e8881b4 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Fri, 30 May 2025 20:46:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E7=9D=A1=E7=9C=A0?= =?UTF-8?q?=E9=97=B4=E9=9A=94=E4=BB=A5=E6=94=B9=E5=96=84=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=A3=80=E7=B4=A2=E6=9C=9F=E9=97=B4=E7=9A=84?= =?UTF-8?q?=E9=80=9F=E7=8E=87=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 8e1df32..886adc9 100644 --- a/main.py +++ b/main.py @@ -325,6 +325,7 @@ def get_searchInfo(keyword, level, headers, proxy_name, r=2): "u_pic": node.get('thumbnail').get('url') } video_list.append(v_data) + time.sleep(1) return video_list @@ -412,7 +413,7 @@ def integrate_data_parallel(): db.rollback_l1(rollback[1]) if rollback[2]: db.rollback_l2(rollback[2]) - + time.sleep(10) def parse_args() -> argparse.Namespace: global MACHINE_ID, MAX_WORKERS