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

有类型下载不了 #8

Open
JianWenXie opened this issue Jul 16, 2021 · 7 comments
Open

有类型下载不了 #8

JianWenXie opened this issue Jul 16, 2021 · 7 comments

Comments

@JianWenXie
Copy link

https://vod6.wenshibaowenbei.com/20210429/JalXngSX/index.m3u8
这种类型的下载不了

@WillieWangWei
Copy link
Owner

这种需要自定义解析逻辑

@JianWenXie
Copy link
Author

JianWenXie commented Jul 16, 2021

这种需要自定义解析逻辑

是这样的,这个相当于是一个二次跳转,这个链接+文件里面的。可以拼成一个新的m3u8地址。
拼成之后如下
https://vod6.wenshibaowenbei.com/20210429/JalXngSX/1000kb/hls/index.m3u8

@WillieWangWei
Copy link
Owner

对,这种需要业务侧自行解析

@JoanLeeo
Copy link

对,这种需要业务侧自行解析

image
能自定义解析吗?

@WillieWangWei
Copy link
Owner

可以在 .attach 中自定义

@JoanLeeo
Copy link

可以在 .attach 中自定义
image
我的.m3u8的格式是这样的,在attach回调里实现不了自定义。只能从你源码里修改。能否留个自定义整个tsArr的入口,完全由用户自定义

@WillieWangWei
Copy link
Owner

如果这个需求已经实现了,欢迎提 PR

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

No branches or pull requests

3 participants