1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-19 08:49:45 +08:00

Auto-Generate docs 🤖

This commit is contained in:
Issues Docs [BOT]
2026-01-16 03:49:56 +00:00
parent 91d02c37d3
commit 384c8f6fec

View File

@@ -4,11 +4,11 @@ title: 使用cookie登陆
# 使用cookie登陆
1. 打开 <https://mi.com> 并登陆。
1. 在电脑上使用 Chrome 浏览器登录小米账号官网 👉 <https://account.xiaomi.com/>
2.`F12` 打开网络工具,点击 `Network` 标签页。
3. 点击左上角小圆点使其变红色。
4.`F5` 刷新页面。
5. 在过滤框里输入 `userInfo` 过滤出下面的连接,点击连接查看 `cookie` ,复制完整的 `cookie` 值。
5. 在过滤框里输入 `account?` 过滤出下面的连接,点击连接查看 `cookie` ,复制完整的 `cookie` 值。需要确保复制的 `cookie` 中有 `userId``passToken` 两个值。
<img width="1548" height="1374" alt="Image" src="https://gproxy.hanxi.cc/proxy/user-attachments/assets/53d1245a-b7e2-4286-9cc5-d2376a909ca5" />
@@ -20,5 +20,52 @@ title: 使用cookie登陆
## 评论
没有评论。
### 评论 1 - seryte
0.4.12版本测试了使用cookie也无效是不是cookie还未正确读取
<img width="1017" height="374" alt="Image" src="https://gproxy.hanxi.cc/proxy/user-attachments/assets/8556270f-b2f3-4b07-a951-656a9b76743c" />
<img width="1263" height="309" alt="Image" src="https://gproxy.hanxi.cc/proxy/user-attachments/assets/9bd7be41-df3d-4870-a879-66e2a3ce9575" />
---
### 评论 2 - WGKER
局域网内电脑获取完整cookie填入并且也填写账户密码仍然无法获取设备。
可行的话还是换成跳转小米账户授权登录的方式吧类似小米官方HA插件目前太折腾了。
---
### 评论 3 - gdzjy
0.4.12登录无效,找不到音箱设备。
<img width="1875" height="697" alt="Image" src="https://gproxy.hanxi.cc/proxy/user-attachments/assets/4d5c8bd6-fe00-4dca-b4bc-f9539f16790b" />
---
### 评论 4 - swxk521
0.4.12一样不行
---
### 评论 5 - gdzjy
发现回到旧版本也找不到设备了不知是不是小米有ban账号的机制日志如下
<img width="1621" height="523" alt="Image" src="https://gproxy.hanxi.cc/proxy/user-attachments/assets/848b635d-34d2-458b-b9b8-3d382ef8a52c" />
<img width="3029" height="1256" alt="Image" src="https://gproxy.hanxi.cc/proxy/user-attachments/assets/06cecd23-58ca-426b-86f3-465b04515b9e" />
---
### 评论 6 - hanxi
文档更新了,截图还没更新,可以先看。
---
[链接到 GitHub Issue](https://github.com/hanxi/xiaomusic/issues/688)