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://greasyfork.org/scripts/400945-libbilibilitoken/code/libBilibiliToken.js?version=832620

Author
lzgfzr
Ratings
0 0 0
Version
0.0.4
Created
2020-04-15
Updated
2020-07-31
License
MIT
Applies to
由B站cookie获取token
因为Tampermonkey的限制或者bug, 无法独立设置cookie, 所以不支持多用户
使用之前请确认已经登录
使用方法 await new BilibiliToken().getToken()
更多高级用法请自行开发