mirror of
https://github.com/Remik1r3n/maimaiDX-Api.git
synced 2025-06-15 07:27:29 +08:00
authlite
This commit is contained in:
parent
6bab65983d
commit
8e1aa1e0af
@ -28,7 +28,7 @@ def auth_lite_decrypt(ciphertext: bytes) -> str:
|
|||||||
content = decrypted_data[16:] # 去除头部的16字节
|
content = decrypted_data[16:] # 去除头部的16字节
|
||||||
return content.decode('utf-8').strip()
|
return content.decode('utf-8').strip()
|
||||||
|
|
||||||
def getRawDelivery(title_ver:str="1.41"):
|
def getRawDelivery(title_ver:str="1.50"):
|
||||||
encrypted = auth_lite_encrypt(f'title_id=SDGB&title_ver={title_ver}&client_id=A63E01C2805')
|
encrypted = auth_lite_encrypt(f'title_id=SDGB&title_ver={title_ver}&client_id=A63E01C2805')
|
||||||
r = httpx.post(
|
r = httpx.post(
|
||||||
'http://at.sys-allnet.cn/net/delivery/instruction',
|
'http://at.sys-allnet.cn/net/delivery/instruction',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user