From 3b5d38253656d6797bc731dfea66d7829addf932 Mon Sep 17 00:00:00 2001 From: RBAmeto <46624927+RBAmeto@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:07:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AF=8F=E6=97=A5=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=8A=A5=E9=94=99=20(#38)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复每日信息报错 * Update mys_api.py --- StarRailUID/utils/mys_api.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/StarRailUID/utils/mys_api.py b/StarRailUID/utils/mys_api.py index 73a9fff..557f9b0 100644 --- a/StarRailUID/utils/mys_api.py +++ b/StarRailUID/utils/mys_api.py @@ -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"]