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

bili-sync-rs账户每天凌晨登录失败 #111

Closed
wesmile8 opened this issue May 31, 2024 · 2 comments
Closed

bili-sync-rs账户每天凌晨登录失败 #111

wesmile8 opened this issue May 31, 2024 · 2 comments

Comments

@wesmile8
Copy link

V2版本在每天凌晨会登录个人账户失败
image
只能重启容器之后才能登录成功
image

@amtoaer
Copy link
Owner

amtoaer commented May 31, 2024

之前是否发生过账号在全平台全部登出的情况?这种情况下 credential 是强制失效的,程序内部刷新流程无法正确处理,因此会一直提示未登录。
至于重启“登录成功”,只是因为程序在启动后第二天才会检查刷新 credential,所以没有把问题暴露出来而已。可以参考 #12 中描述的匿名窗口登录操作,将新的凭据粘贴到 bili-sync 里即可解决。
目前想到的处理办法是在每次执行扫描前都调用一个需要鉴权的常用接口,如果鉴权没有通过直接报错,可以避免发生这样的误解;同时还可以避免 credential 由于各种原因失效,导致只能下载到 480p 视频的非预期行为。

@amtoaer
Copy link
Owner

amtoaer commented Jun 1, 2024

https://github.com/amtoaer/bili-sync/releases/tag/v2.0.7
新版本会在每次扫描前检查是否已登录,未登录状态会拒绝运行

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

2 participants