We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
我默认歌单倒是没问题。重构的时候发现fetch params只要credentials设置了就会412 也有可能是没带UA
>>> import requests >>> requests.get('https://api.bilibili.com/x/web-interface/nav') <Response [412]> >>> requests.get('https://api.bilibili.com/x/web-interface/nav',headers={"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"}) <Response [200]>
Sorry, something went wrong.
可能是调接口调的太快了,昨天又出现了,等了几分钟就好了。
No branches or pull requests
The text was updated successfully, but these errors were encountered: