Skip to content

Commit e99f64c

Browse files
cyh-2003SessionHu
andauthored
feat: 更新用户空间详细信息的认证方式 (#1336)
* 更新用户空间详细信息的认证方式 * update * 更改表述 * update * Update info.md * Update docs/user/info.md Co-authored-by: Session小胡 <[email protected]> --------- Co-authored-by: Session小胡 <[email protected]>
1 parent 2eae485 commit e99f64c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/user/info.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
认证方式:Cookie(SESSDATA)
1212

13-
鉴权方式:[Wbi 签名](../misc/sign/wbi.md), Cookie (对于某些 IP 地址,需要在 Cookie 中提供任意非空的 `buvid3` 字段)
13+
鉴权方式:[Wbi 签名](../misc/sign/wbi.md), Cookie (包含 SESSDATA 与空值的总项数大于等于 3)
1414

1515
~~该接口的旧版 API :<https://api.bilibili.com/x/space/acc/info>~~(已废弃,不建议使用)
1616

@@ -339,7 +339,8 @@ curl -G 'https://api.bilibili.com/x/space/wbi/acc/info' \
339339
--data-urlencode 'mid=2' \
340340
--data-urlencode 'wts=1685070149' \
341341
--data-urlencode 'w_rid=f7b376124782ae8cb42c56fdd69144ed' \
342-
-b 'SESSDATA=xxx'
342+
-b 'SESSDATA=xxx ;a= ; b=' \
343+
-A 'Mozilla/9.0 (X11; qwq)'
343344
```
344345

345346
<details>
@@ -1773,4 +1774,4 @@ curl -G 'https://api.vc.bilibili.com/x/im/user_infos' \
17731774
]
17741775
}
17751776
```
1776-
</details>
1777+
</details>

0 commit comments

Comments
 (0)