mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-09 05:25:53 +08:00
👽 尝试修复导出抽卡记录到小助手
This commit is contained in:
parent
9ed8a7e76e
commit
5e37e8791d
@ -6,6 +6,7 @@ import aiofiles
|
|||||||
from gsuid_core.logger import logger
|
from gsuid_core.logger import logger
|
||||||
from urllib3 import encode_multipart_formdata
|
from urllib3 import encode_multipart_formdata
|
||||||
from gsuid_core.utils.error_reply import get_error_img
|
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 gsuid_core.utils.api.mys.request import RECOGNIZE_SERVER
|
||||||
|
|
||||||
from ..utils.mys_api import mys_api
|
from ..utils.mys_api import mys_api
|
||||||
@ -20,7 +21,7 @@ async def get_gachaurl(uid: str):
|
|||||||
authkey = authkey_rawdata['authkey']
|
authkey = authkey_rawdata['authkey']
|
||||||
now = time.time()
|
now = time.time()
|
||||||
url = (
|
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"authkey_ver=1&sign_type=2&auth_appid=webview_gacha&init_type=301&"
|
||||||
f"gacha_id=fecafa7b6560db5f3182222395d88aaa6aaac1bc"
|
f"gacha_id=fecafa7b6560db5f3182222395d88aaa6aaac1bc"
|
||||||
f"×tamp={str(int(now))}"
|
f"×tamp={str(int(now))}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user