From 74b45c7d9bb47e022c5ac9c6cda914702a3cba6a Mon Sep 17 00:00:00 2001 From: xiaoxin <2932869213@qq.com> Date: Sun, 21 Dec 2025 16:36:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20API=5FTitleServer.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- API_TitleServer.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/API_TitleServer.py b/API_TitleServer.py index 1dc653c..e26f342 100644 --- a/API_TitleServer.py +++ b/API_TitleServer.py @@ -14,13 +14,13 @@ import certifi use2024Api = False if use2024Api: - AesKey = "n7bx6:@Fg_:2;5E89Phy7AyIcpxEQ:R@" - AesIV = ";;KjR1C3hgB1ovXa" - ObfuscateParam = "BEs2D5vW" + AesKey = "" + AesIV = "" + ObfuscateParam = "" else: - AesKey = "a>32bVP7v<63BVLkY[xM>daZ1s9MBP str: agentExtra = str(userAgentExtraData) aes = aes_pkcs7(AesKey, AesIV) - endpoint = "https://maimai-gm.wahlap.com:42081/Maimai2Servlet/" + endpoint = "" requestDataFinal = aes.encrypt(zlib.compress(data.encode('utf-8'))) @@ -198,7 +198,7 @@ def apiSDGB_2024(data:str, targetApi:str, userAgentExtraData:str, noLog:bool=Fal aes = AESPKCS7_2024(AesKey, AesIV) reqData_encrypted = aes.encrypt(data) reqData_deflated = zlib.compress(reqData_encrypted) - endpoint = "https://maimai-gm.wahlap.com:42081/Maimai2Servlet/" + endpoint = "" if not noLog: logger.debug(f"开始请求 {targetApi},以 {data}")