From 9a5fcc85110361db02f2e6c1235f4af6b0bc8e07 Mon Sep 17 00:00:00 2001 From: aszerW Date: Sun, 26 Oct 2025 09:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=88=99=E5=8C=B9=E9=85=8D=E5=85=83?= =?UTF-8?q?=E7=B4=A0=E6=96=87=E6=9C=AC=E6=B2=A1=E6=9C=89=E5=8A=A0r;=20trac?= =?UTF-8?q?eback.print=5Fexc()=E6=94=B9=E4=B8=BAtraceback.format=5Fexc()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OddsjamBetTracker.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OddsjamBetTracker.py b/OddsjamBetTracker.py index c95784e..ef579af 100644 --- a/OddsjamBetTracker.py +++ b/OddsjamBetTracker.py @@ -226,9 +226,9 @@ class SyncOddsjamBetTracker: # time.sleep(5) # page.get_by_role("button", name=f"{day}").click() # time.sleep(5) - page.get_by_role( - "button", name=re.compile("Show (\d+) Results", re.IGNORECASE) - ).click() + # page.get_by_role( + # "button", name=re.compile(r"Show (\d+) Results", re.IGNORECASE) + # ).click() inner_text = page.get_by_text( re.compile("Showing 1 to 50 of", re.IGNORECASE) @@ -347,7 +347,7 @@ def pull_data_from_oddsjam_update(ds: str = None): update_db_order_status(status_file_path=intercept_response_res_save_path) dingtalk.send_text(f"{ds}: 比赛状态更新完成") except Exception as e: - error_info = traceback.print_exc() + error_info = traceback.format_exc() logger.error(error_info) dingtalk.send_text(error_info)