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=793457

Author
lzgfzr
Ratings
0 0 0
Version
0.0.3
Created
Updated
License
MIT
Applies to

Author's Description

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