Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[获取access_key] 提示“你必须登录B站之后才能使用授权” #126

Open
adeNpe opened this issue Nov 2, 2023 · 7 comments
Open
Assignees

Comments

@adeNpe
Copy link

adeNpe commented Nov 2, 2023

尽管已经登录,但仍错误提示。我的电脑上目前chrome浏览器登陆的是一个账号,edge又是另外一个账号,不知道是不是受这个影响
QQ图片20231103022012

@hafijy
Copy link

hafijy commented Nov 3, 2023

同样的问题,视频点不喜欢的时候提交失败,就想删除access_key重新获取一遍,结果就提示了这个

@jerry460
Copy link

jerry460 commented Nov 4, 2023

@indefined
Copy link
Owner

获取授权的接口废了,毕竟非常久远了。相关接口倒是有一个,明天再评估一下是直接更新还是反馈到新脚本作者那边去吧,你们用的是新的脚本关注上面那个issue就可以了

indefined added a commit that referenced this issue Nov 4, 2023
@indefined
Copy link
Owner

已更新,但是我这个脚本之在旧版的页面生效所以你们应该没什么效果,新界面要等magicdawn/Bilibili-Gate#53 看是否同步更新
注意!更换的授权接口会产生扫码登陆记录,自行判断安全性和是否使用

@indefined
Copy link
Owner

cbde1ca
更新副作用提示,新接口毛病不少

@magicdawn
Copy link

我参考 https://socialsisteryi.github.io/bilibili-API-collect/docs/login/login_action/QR.html#tv%E7%AB%AF%E6%89%AB%E7%A0%81%E7%99%BB%E5%BD%95
这个改了一版, 和 libBilibiliToken 都是模拟 TV 扫码登录. 不知道还可以用 web cookie 发扫码确认请求.

这个导致退出是不是因为他发 confirm 发的太快...,
https://github.com/lzghzr/TampermonkeyJS/blob/master/libBilibiliToken/libBilibiliToken.js#L99-L106

@indefined
Copy link
Owner

估计是发得太快了,获取到二维码之后就立刻被扫码确认了显然不符合人类操作逻辑所以被判断成风险异常了吧。这个需求场景下似乎让用户自己扫码更合理一些,但是我太懒了这个旧版用的人也实在不多,不想去改它了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants