修复每日信息报错 (#38)

* 修复每日信息报错

* Update mys_api.py
This commit is contained in:
RBAmeto 2024-09-18 13:07:22 +08:00 committed by GitHub
parent 9ca34cccc0
commit 3b5d382536
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,11 +111,9 @@ class MysApi(_MysApi):
header["x-rpc-channel"] = "beta"
device_id = await self.get_user_device_id(uid, "sr")
header["x-rpc-device_id"] = "23" if device_id is None else device_id
header["x-rpc-app_version"] = "2.53.0"
header["x-rpc-device_model"] = "Mi 10"
fp = await self.get_user_fp(uid, "sr")
header["x-rpc-device_fp"] = "Asmr489" if fp is None else fp
header["x-rpc-client_type"] = "2"
header["DS"] = get_ds_token()
header["Referer"] = "https://app.mihoyo.com"
del header["Origin"]