Greasy Fork is available in English.

libBilibiliToken

哔哩哔哩cookie获取token

As of 31/08/2021. See the latest version.

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/965733/libBilibiliToken.js

Autor
lzgfzr
Verzija
0.0.4
Napravljeno
15/04/2020
Ažurirano
31/08/2021
Licenca
MIT

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