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

更换bilibili_sub获取用户昵称用的API&尝试修了一下get_video() #1097

Merged
merged 3 commits into from
Sep 19, 2022

Conversation

LambdaYH
Copy link
Contributor

@LambdaYH LambdaYH commented Sep 17, 2022

  1. 原APIhttp://api.bilibili.com/x/space/acc/info在不加cookie的情况下会概率性出现code -401从而导致get_user_info失败
    获取用户昵称可以使用http://api.bilibili.com/x/web-interface/card替代,目前简单测试下未出现-401错误

  2. get_videos每次请求加了个cookie,使用添加订阅upxxx测试了下,-401情况出现率降低许多

目前测试了下,至少-401的情况少了很多
@LambdaYH LambdaYH changed the title 更换bilibili_sub获取用户昵称用的API 更换bilibili_sub获取用户昵称用的API&尝试修了一下get_video() Sep 17, 2022
@HibiKier HibiKier merged commit a45a300 into HibiKier:main Sep 19, 2022
@LambdaYH LambdaYH mentioned this pull request Sep 22, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants