# Minecraft-getAccessToken-Python **Repository Path**: Oy-Team/Minecraft-getAccessToken-Python ## Basic Information - **Project Name**: Minecraft-getAccessToken-Python - **Description**: 获取 Microsoft Access Token - Python版本 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2026-02-01 - **Last Updated**: 2026-02-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Minecraft-getAccessToken-Python ### 获取微软账户的 Minecraft Access Token. ### 基于[lc6464/Minecraft-AccessToken](https://github.com/lc6464/Minecraft-AccessToken) 可以使用AI修改过的AI_main.py,可以正常使用,不需要msedgedriver.exe 完成后会保存AccessToken到AccessToken.txt 原理可在 [wiki.vg](https://wiki.vg/ZH:Microsoft_Authentication_Scheme "wiki.vg 中的页面") 中查询。 由于第一步骤:Microsoft 账户登录需要使用到浏览器,而此程序的解决方法是用 `selenium` 的 `Microsoft Edge webdriver`,请准备好相关程序。
可在[此处](https://developer.microsoft.com/zh-cn/microsoft-edge/tools/webdriver/ "Microsoft 官方网站中的页面")下载,并在 `main.py` 中自行将文件路径改为你的。
另外就是设备上肯定得有 Microsoft Edge 才行。 如果你使用 Chrome 或 Firefox 等其他的浏览器,请自行修改 `driver` 和程序。