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

修复 B 站请求返回 -401 错误 #1119

Merged
merged 2 commits into from
Oct 7, 2022
Merged

修复 B 站请求返回 -401 错误 #1119

merged 2 commits into from
Oct 7, 2022

Conversation

SK-415
Copy link
Contributor

@SK-415 SK-415 commented Oct 2, 2022

相关 issue:#1116

B 站现在部分 API 请求的时候不带 cookies 可能会返回 -401 非法访问

bilireq v0.2.3+ 会自动从 B 站首页(https://www.bilibili.com)获取 cookies 并附带在请求中,消除 -401 问题。

@HibiKier HibiKier merged commit 3ee9ae5 into HibiKier:main Oct 7, 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.

2 participants