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

API /x/space/acc/info 出现大量-401返回值 #120

Closed
Radekyspec opened this issue Sep 28, 2022 · 2 comments · Fixed by #121
Closed

API /x/space/acc/info 出现大量-401返回值 #120

Radekyspec opened this issue Sep 28, 2022 · 2 comments · Fixed by #121

Comments

@Radekyspec
Copy link
Contributor

最近b站给 https://api.bilibili.com/x/space/acc/info 加了反爬

被拦截的请求会返回 -401 非法访问

初步摸索到的解决方法:给请求加上有效的User-Agent和值不为空的Cookie

@simon300000
Copy link
Member

相关 dd-center/vtbs.moe#406

@simon300000
Copy link
Member

相关 simon300000/bili-api#153

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 a pull request may close this issue.

2 participants