From d34be05b6bf073a75c6fd51a8197c8259a911aaa Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sun, 1 Jun 2025 17:06:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=B4=E9=9A=94=E6=97=B6=E9=97=B4=E5=B9=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0item=5Fkeyword=E8=B0=83=E7=94=A8=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 3ff4fa7..af94db0 100644 --- a/main.py +++ b/main.py @@ -118,7 +118,7 @@ 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(1) + time.sleep(3) return video_list @@ -149,7 +149,7 @@ def integrate_data_parallel(): while True: global proxiesdict proxiesdict = db.get_proxy_agent_dict() - tasks, flag = db.item_keyword(1) + tasks, flag = db.item_keyword(20) if not tasks: time.sleep(10) continue