From 93bb599ffbfd466cd9ab77d5b3c6fc654253412c Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Mon, 2 Jun 2025 22:29:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=94=9F=E6=88=90=E9=80=BB=E8=BE=91=E4=BB=A5?= =?UTF-8?q?=E9=99=90=E5=88=B6=E6=9C=80=E5=A4=A7=E8=A7=86=E9=A2=91=E6=95=B0?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 809aa36..63954e3 100644 --- a/main.py +++ b/main.py @@ -125,7 +125,9 @@ def get_searchInfo(keyword, level, headers, proxy_name, r=2): "u_pic": iteminfo.get('owner.avatar_60_url') } video_list.append(v_data) - time.sleep(3) + time.sleep(3) + if len(video_list) < 100: + break return video_list