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

Youku download error #31

Closed
liuyintongxue opened this issue Mar 20, 2018 · 11 comments
Closed

Youku download error #31

liuyintongxue opened this issue Mar 20, 2018 · 11 comments
Labels
bug Something isn't working youku

Comments

@liuyintongxue
Copy link

` Site: 优酷 youku.com
Title: 圆桌派 第三季:第十一集 烂片:怎样算烂?为何会烂?
Type: video
Quality: mp4hd2 1280x720
Size: 322.98 MiB (338664257 Bytes)

39.60 MiB / 322.98 MiB [===>--------------------------] 12.26% 27.53 MiB/s 1s
Merging video parts into 圆桌派 第三季:第十一集 烂片:怎样算烂?为何会烂?.mp4`

我看你用的方法和 http://www.maoyun.tv/mdparse/index.php?id=http://v.youku.com/v_show/id_XMzQ2NjUyNjYwNA==.html 是一样的,没区别,但是他能获取到正确的地址并且播放。

我建议可以从这种解析接口里获取下载地址。

@liuyintongxue
Copy link
Author

还是因为程序原因? 没有下载完就开始合并了?

@liuyintongxue
Copy link
Author

不过使用这种接口的话失去乐趣了,这个解析接口基本支持国内所有视频站点。

@iawia002
Copy link
Owner

你用的哪个版本?这个应该是下载其中一个链接的时候优酷返回 403 之类的,但是我现在对这种情况的处理是直接报错,会直接结束程序,不会走到合并那里去

@iawia002 iawia002 added the bug Something isn't working label Mar 20, 2018
@iawia002
Copy link
Owner

不会又是并发太高被优酷 ban 了吧,芒果tv 就是这样的,还搞得我强行把下载芒果tv 改成了单线程

@iawia002
Copy link
Owner

iawia002 commented Mar 20, 2018

你用最新版的下所有优酷视频都这样吗?我空了调试一下看看具体原因是什么

@liuyintongxue
Copy link
Author

我用的最新版,他没有报错,直接合并了6分钟,我和这个解析作者聊过,他后端好像用的是c,然后切代理,做了地址缓存,解析服务器负载不小。

@iawia002
Copy link
Owner

@liuyintongxue 我自己也试了一下,不是网络的问题,应该是其他哪里出问题了

@iawia002
Copy link
Owner

@liuyintongxue 问题的原因是这样的,优酷 API 返给我的总大小是 300 多 MB,但是它返回了两个片段,每个的大小只有 10 多 MB,

@iawia002
Copy link
Owner

优酷 0503 这个 ccode 只返回前几分钟的数据,其他的 ccode 都用不了

@iawia002 iawia002 added the youku label Mar 21, 2018
@liuyintongxue
Copy link
Author

那用我发给你的这个在线接口咯,应该没问题。

@iawia002
Copy link
Owner

@liuyintongxue 我倾向于直接对接优酷的 API。我重新提了一个 issue #43,我把这个关了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working youku
Projects
None yet
Development

No branches or pull requests

2 participants