-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: add new api support #123
Conversation
bc4be91
to
713e551
Compare
f737273
to
3c9824f
Compare
@Tony15246 代码已完成,可以审查了 |
34f090a
to
b8581b4
Compare
记录:对于各大视频网站的弹幕解析还有个替代方案 https://github.com/lyz05/danmaku 不过 dandanplay 的 api 接口已足够强大,暂只做记录 |
OK 我现在在城里的医院体检,晚上到家我review一下 |
好家伙,我之前下弹幕也用过它 主流视频网站弹幕文件解析接口 |
24cc067
to
5317d2a
Compare
Brings support for non-animated danmaku
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
大佬太强了,光看代码就看了我半个多小时 |
我有一个小地方不明白,danmaku.source这个变量是用来干什么的?有赋值和存值,但好像从来没有取用过。 |
在代码中并不使用它,主要是为了用户查看 json 文件时能直观的看出弹幕来源 |
ok,那我合并代码了 |
基于 #121
实现 #114 (comment) 中的部分想法
通过在搜索关键词后追加
|ds
,|dy
和|dm
等额外关键词触发新的 API 弹幕搜索(对应电视剧、电影、动漫)它会获取弹弹play 的 API 支持解析的视频网站的对应播放链接,然后再通过调用弹弹play 的 API 来获取弹幕
PS:动漫不推荐使用它,弹弹play 的 api 要更强大(国漫的话可以使用它,更全)
还有些小细节待完善功能示意:
test.mp4
API 文档参考:https://www.eruyi.cn/thread-11578-1-1.html