fix: 调整视频处理间隔时间并更新item_keyword调用参数

This commit is contained in:
晓丰 2025-06-01 17:06:48 +08:00
parent 035aadb6d2
commit d34be05b6b

View File

@ -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