From 5e37e8791dfebf3cc29fdffcb75bac27f8cfd10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98KimigaiiWuyi=E2=80=99?= <444835641@qq.com> Date: Wed, 24 Apr 2024 11:57:29 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=20=E5=B0=9D=E8=AF=95=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D`=E5=AF=BC=E5=87=BA=E6=8A=BD=E5=8D=A1=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=88=B0=E5=B0=8F=E5=8A=A9=E6=89=8B`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GenshinUID/genshinuid_gachalog/lelaer_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GenshinUID/genshinuid_gachalog/lelaer_tools.py b/GenshinUID/genshinuid_gachalog/lelaer_tools.py index cf435818..8a7a1dab 100644 --- a/GenshinUID/genshinuid_gachalog/lelaer_tools.py +++ b/GenshinUID/genshinuid_gachalog/lelaer_tools.py @@ -6,6 +6,7 @@ import aiofiles from gsuid_core.logger import logger from urllib3 import encode_multipart_formdata from gsuid_core.utils.error_reply import get_error_img +from gsuid_core.utils.api.mys.api import GET_GACHA_LOG_URL from gsuid_core.utils.api.mys.request import RECOGNIZE_SERVER from ..utils.mys_api import mys_api @@ -20,7 +21,7 @@ async def get_gachaurl(uid: str): authkey = authkey_rawdata['authkey'] now = time.time() url = ( - f"https://hk4e-api.mihoyo.com/event/gacha_info/api/getGachaLog?" + f"{GET_GACHA_LOG_URL}?" f"authkey_ver=1&sign_type=2&auth_appid=webview_gacha&init_type=301&" f"gacha_id=fecafa7b6560db5f3182222395d88aaa6aaac1bc" f"×tamp={str(int(now))}"