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

不能直接通过aria2的jsonrpc下载吗? #19

Open
heroboy opened this issue Nov 14, 2019 · 2 comments
Open

不能直接通过aria2的jsonrpc下载吗? #19

heroboy opened this issue Nov 14, 2019 · 2 comments

Comments

@heroboy
Copy link

heroboy commented Nov 14, 2019

m3u8直接在扩展内下载解析。然后各段ts调用aria2来下载。
windows运行bash脚本很麻烦的。虽然我自己已经努力通过读懂这个bash脚本写了个nodejs的脚本来下载。

@vide0
Copy link
Member

vide0 commented Nov 14, 2019

的确,这个插件对Windows系统不是很友好,我也只是在原插件的基础上进行开发的。
关于直接使用 aria 的 jsonrpc 功能实现的确是个不错的想法,我在后续的改善中会考虑。

@heroboy
Copy link
Author

heroboy commented Nov 29, 2019

如果jsonrpc比较麻烦的话。我觉得在扩展内解析m3u8,然后生成下载ts文件的aria2的命令行(或bat)也可以。

  1. 一种是生成一个文件列表,用一个固定的命令行来下载。
  2. 还有一种可以生成一个巨大的命令行,带上所有下载的url。不知道这个可不可以。
    生成的内容如果过于庞大,可以就放一个复制到剪贴板的按钮。
    至于如何合并ts,那是另一个故事了。

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

2 participants