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

为保护用户隐私,未登录无法查看他人昵称 #29

Closed
yaoyaochil opened this issue Dec 13, 2023 · 2 comments
Closed

为保护用户隐私,未登录无法查看他人昵称 #29

yaoyaochil opened this issue Dec 13, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@yaoyaochil
Copy link

Additional context

现在b站不登录的情况下不允许查看相关内容了,是不是可以新增一个配置项 传入cookie等信息 或者header自定义配置

@ddiu8081 ddiu8081 added the enhancement New feature or request label Dec 16, 2023
@ddiu8081 ddiu8081 self-assigned this Dec 16, 2023
@ddiu8081
Copy link
Owner

目前是可以传第三个参数配置 auth 参数的:

startListen(652581, handler, {
  ws: {
    uid: 1,
    platform: undefined,
  }
})

经过测试目前发现了两种办法可以展示完整的:

  1. uid 传有效 uid,同时 platform 传非 web 值或者 undefined
  2. uid, key, buvid 传登录后抓取的真实数据

@starknt
Copy link
Contributor

starknt commented Dec 18, 2023

后续我会重写一下,接入新的认证机制

@ddiu8081 ddiu8081 closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants