From 12ad30f44f64e5209ed109bab1506aa9e3336ad5 Mon Sep 17 00:00:00 2001 From: KimgiaiiWuyi <444835641@qq.com> Date: Fri, 5 Aug 2022 08:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20=E4=BF=AE=E5=A4=8D`?= =?UTF-8?q?=E5=8E=9F=E7=A5=9E=E7=AD=BE=E5=88=B0`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mihoyo_libs/get_data.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mihoyo_libs/get_data.py b/mihoyo_libs/get_data.py index 16481afb..bc1c1a19 100644 --- a/mihoyo_libs/get_data.py +++ b/mihoyo_libs/get_data.py @@ -648,11 +648,11 @@ async def mihoyo_bbs_sign(uid, server_id='cn_gf01'): 'x-rpc-device_id': random_hex(32), 'Origin': 'https://webstatic.mihoyo.com', 'X_Requested_With': 'com.mihoyo.hyperion', - 'DS': old_version_get_ds_token(), - 'x-rpc-client_type': '5', + 'DS': old_version_get_ds_token(True), + 'x-rpc-client_type': '2', 'Referer': 'https://webstatic.mihoyo.com/bbs/event/signin-ys/index.html?bbs_auth_required=true&act_id' '=e202009291139501&utm_source=bbs&utm_medium=mys&utm_campaign=icon', - 'x-rpc-app_version': '2.3.0', + 'x-rpc-app_version': '2.28.1', }, json={'act_id': 'e202009291139501', 'uid': uid, 'region': server_id}, )