From 45e21cb7a1658dceca2d3def7ea24fb86b72aa84 Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 5 Mar 2026 00:27:59 +0800 Subject: [PATCH] haah --- 自动化.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/自动化.py b/自动化.py index 8b2be2e..fe224a1 100644 --- a/自动化.py +++ b/自动化.py @@ -83,9 +83,12 @@ def main(): print(i["body"]) body = i.get("body") or {} - age = body["resume"]["age"] # 年龄 - education = body["resume"]["education"] # 大专 - position = body["resume"]["position"] # 期望职位 + try: + age = body["resume"]["age"] # 年龄 + education = body["resume"]["education"] # 大专 + position = body["resume"]["position"] # 期望职位 + except: + pass text = body.get("text") if body else None if text and "手机号" in text: