From 28b5d198544a1d30d7b78d34390bff447cb2ebc8 Mon Sep 17 00:00:00 2001 From: ajjdxns <136149181+ajjdxns@users.noreply.github.com> Date: Wed, 15 May 2024 20:57:08 +0800 Subject: [PATCH] =?UTF-8?q?oauth()=E5=B0=86=E4=BC=9A=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E4=BB=A4=E7=89=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oauth/microsoft_auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oauth/microsoft_auth.py b/oauth/microsoft_auth.py index d22bb8a..52a48b8 100644 --- a/oauth/microsoft_auth.py +++ b/oauth/microsoft_auth.py @@ -76,4 +76,5 @@ def oauth(): }) url = "https://api.minecraftservices.com/authentication/login_with_xbox" res = post(url = url, data = data) - print(res.text) + dic = loads(res.text) + break dic["access_token"]