-
https://github.com/SocialSisterYi/bilibili-API-collect/blob/cffe9ca44983e2c28b27a4e942960347b6b3dd30/docs/user/relation.md |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
可通过访问 B 站的个人空间网页,将 HTML 元素 |
Beta Was this translation helpful? Give feedback.
-
楼上总结了, 就是访问 WEB 网页, 从 HTML 里面找 至于 jwt 内容是什么不重要, 没法伪造. 反正 payload 里面是风控信息: {
"spm_id": "0.0",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36",
"created_at": 1726929227,
"ttl": 86400,
"url": "***",
"result": "normal",
"iss": "gaia",
"iat": 1726929227
} 可以把这个 discussion 转 issue 了, 属于新的风控方法. |
Beta Was this translation helpful? Give feedback.
楼上总结了, 就是访问 WEB 网页, 从 HTML 里面找
<script id="__RENDER_DATA__" type="application/json">***</script>
, 把 *** 的内容 decode 为 json, access_id 就是这个w_webid
.至于 jwt 内容是什么不重要, 没法伪造. 反正 payload 里面是风控信息:
可以把这个 discussion 转 issue 了, 属于新的风控方法.