libBilibiliToken

哔哩哔哩cookie获取token

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/400945/1055319/libBilibiliToken.js

Author
lzgfzr
Version
1.0.0
Created
2020-04-15
Updated
2022-05-28
License
MIT

由B站cookie获取token
因为Tampermonkey的限制或者bug, 无法独立设置cookie, 所以不支持多用户
使用之前请确认已经登录
使用方法 await new BilibiliToken().getToken()
更多高级用法请自行开发