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

[UR/FR] Add authentication method when add danmaku from URL 在手动添加弹幕源时,为个别网站添加账号密码验证,使用Cookies? #22

Open
languede opened this issue Jan 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@languede
Copy link

languede commented Jan 6, 2024

Is your feature request related to a problem? Please describe.
当自动识别不到弹幕,需要手动找弹幕源时:
有些视频网站必须登录后才能获取到弹幕,直接输入视频url返回0弹幕

Describe the solution you'd like
填入cookies来验证身份, 发送GET请求的时候附上Cookies信息?
也可以根据网站的Domain来对应别处理, 比如识别输入的url是 *.acfun.cn.

A clear and concise description of what you want to happen.
成功通过网站验证,获取到只有登录用户才能观看的视频弹幕

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context
不熟悉JavaScript,不知道是否有难度和可行性?

Add any other context or screenshots about the feature request here.
例子:https://www.acfun.cn/v/ac10077196_3

@languede languede added the enhancement New feature or request label Jan 6, 2024
@Izumiko
Copy link
Owner

Izumiko commented Jan 6, 2024

这个用的是弹弹play的/api/v2/extcomment接口,它没实现登录或者cookie的功能。要想实现的话就得自己写了,可行性是没问题,只不过我js也只是新手水平。

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

2 participants