From e43778dbade6536d9ee878d9026b74908b1760ad Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Mon, 21 Mar 2022 08:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hoshino/modules/Genshin_Paimon/get_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hoshino/modules/Genshin_Paimon/get_data.py b/hoshino/modules/Genshin_Paimon/get_data.py index e326581..b162c7a 100644 --- a/hoshino/modules/Genshin_Paimon/get_data.py +++ b/hoshino/modules/Genshin_Paimon/get_data.py @@ -97,7 +97,7 @@ async def get_monthinfo_data(uid, month, cookie, use_cache=True): return await res.json() async def get_bind_game(cookie): - finduid = re.search(r'account_id=(\d{9})', cookie) + finduid = re.search(r'account_id=(\d{6,12})', cookie) if not finduid: return None uid = finduid.group(1)