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

请问这种链接怎么处理? #595

Closed
Joker-Q4 opened this issue Jan 8, 2020 · 10 comments
Closed

请问这种链接怎么处理? #595

Joker-Q4 opened this issue Jan 8, 2020 · 10 comments
Labels

Comments

@Joker-Q4
Copy link

@Joker-Q4 Joker-Q4 commented Jan 8, 2020

https://cn7.kankia.com/hls/20200105/570e52cf452c556cefa90de296b5e23c/1578235157/index.m3u8

请问这种m3u8为什么下载不了,我用demo也下载失败,但是异常信息为null

@Joker-Q4

This comment has been minimized.

Copy link
Author

@Joker-Q4 Joker-Q4 commented Jan 8, 2020

https://cn2.zuidadianying.com/20171217/VnQdwd35/index.m3u8

还有这种内部包含m3u8的直接报404的错误了0.0

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Jan 9, 2020

@AriaLyy AriaLyy added the Q&A label Jan 9, 2020
@Joker-Q4

This comment has been minimized.

Copy link
Author

@Joker-Q4 Joker-Q4 commented Jan 9, 2020

如果有301重定向的话,VodTsUrlConverter中的public List convert(String m3u8Url, List tsUrls) 第一个参数仍然是未重定向之前的url,如何取到重定向之后的url呢

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Jan 9, 2020

重定向前的

@Joker-Q4

This comment has been minimized.

Copy link
Author

@Joker-Q4 Joker-Q4 commented Jan 9, 2020

emmmm,如何取到重定向之后的呢

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Jan 9, 2020

框架里面是自动获取重定向连接的,你只需要转换重定向之前的连接便可

@Joker-Q4

This comment has been minimized.

Copy link
Author

@Joker-Q4 Joker-Q4 commented Jan 9, 2020

https://cn7.kankia.com/hls/20200108/e1eaec074274c64fe46a3bdb5d2ba487/1578488360/index.m3u8

请问这中重定向应该怎么解决呢?下面是异常信息

2020-01-09 19:46:43.034 15889-16702/com.joker W/System.err: com.arialyy.aria.exception.TaskException: Aria Task Exception:, 连接错误,http错误码:301,url:https://cn7.kankia.com/hls/20200108/e1eaec074274c64fe46a3bdb5d2ba487/1578488360/film_00001.ts
2020-01-09 19:46:43.034 15889-16702/com.joker W/System.err: at com.arialyy.aria.m3u8.M3U8ThreadTaskAdapter.handlerThreadTask(M3U8ThreadTaskAdapter.java:95)
2020-01-09 19:46:43.034 15889-16702/com.joker W/System.err: at com.arialyy.aria.core.task.AbsThreadTaskAdapter.call(AbsThreadTaskAdapter.java:54)
2020-01-09 19:46:43.034 15889-16702/com.joker W/System.err: at com.arialyy.aria.core.task.ThreadTask.call(ThreadTask.java:485)
2020-01-09 19:46:43.035 15889-16702/com.joker W/System.err: at com.arialyy.aria.core.task.ThreadTask.call(ThreadTask.java:47)
2020-01-09 19:46:43.035 15889-16702/com.joker W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2020-01-09 19:46:43.035 15889-16702/com.joker W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
2020-01-09 19:46:43.035 15889-16702/com.joker W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
2020-01-09 19:46:43.035 15889-16702/com.joker W/System.err: at java.lang.Thread.run(Thread.java:764)

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Jan 9, 2020

是有这个问题,ts文件没有做30x跳转,使用3.8.3_beta_5版本可以解决这个问题

@AriaLyy AriaLyy added the bug label Jan 9, 2020
AriaLyy added a commit that referenced this issue Jan 9, 2020
修复一个数据升级导致的taskType列不存在问题,#586
@Joker-Q4

This comment has been minimized.

Copy link
Author

@Joker-Q4 Joker-Q4 commented Jan 9, 2020

好的,谢谢!😄

@AriaLyy AriaLyy closed this Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.