From 7231c5d75028873861763a9c8609e22a8665b224 Mon Sep 17 00:00:00 2001 From: kalifranklin Date: Sat, 19 Jul 2025 11:03:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E8=A7=84=E5=88=92=E5=A4=B4?= =?UTF-8?q?=E5=85=B3=E9=94=AE=E8=AF=8D=E7=9A=84=E7=AD=89=E5=BE=85=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneget.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oneget.py b/oneget.py index 5af9e5e..100278b 100644 --- a/oneget.py +++ b/oneget.py @@ -255,7 +255,8 @@ def main(): kwdata = db.get_web_items() if not kwdata: logger.error("没有获取到关键词数据") - exit(1) + time.sleep(30) + return logger.info(f"搜索关键词数据: {kwdata}") kwdata = kwdata[0][1] rn = kwdata['rn']