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

[漏洞] User.get_user_info, User.get_live_info 风控校验失败 #832

Open
ClanEver opened this issue Oct 19, 2024 · 2 comments
Open

[漏洞] User.get_user_info, User.get_live_info 风控校验失败 #832

ClanEver opened this issue Oct 19, 2024 · 2 comments
Labels
bug 漏洞

Comments

@ClanEver
Copy link

Python 版本: 3.12.1

模块版本: 16.3.0

运行环境: Windows

模块路径: bilibili_api.user

解释器: cpython

报错信息: bilibili_api.exceptions.ResponseCodeException.ResponseCodeException: 接口返回错误代码:-352,信息:风控校验失败。

报错代码:

import asyncio
from bilibili_api import Credential, user

credential = Credential(
    sessdata="xxx",
    bili_jct="xxx",
    buvid3="xxx",
    dedeuserid="xxx",
)

u = user.User(7349, credential)
async def main() -> None:
    user_info = await u.get_user_info()  # get_live_info 一样报错
    print(user_info)

if __name__ == "__main__":
    asyncio.get_event_loop().run_until_complete(main())

User.get_videos() 没问题

@ClanEver ClanEver added the bug 漏洞 label Oct 19, 2024
@no1xsyzy
Copy link

#833

@shouge
Copy link

shouge commented Oct 29, 2024

接口需要w_webid参数 最近也在使用这个接口 我把自己的实现发起了PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 漏洞
Projects
None yet
Development

No branches or pull requests

3 participants