aria2c可以下载带有特定文件名的URL列表吗? [英] Can aria2c download list of urls with specific file names for each?

查看:225
本文介绍了aria2c可以下载带有特定文件名的URL列表吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,我有一个URL列表:

For example i have a list of URLs:

https://link.com/file/get/somefile.ext
https://go.com/download/anotherfile.ext
https://program.com/selection/download.php?id=26162

我想为上一个URL设置一个特定的名称,例如:

I want to set a specific name for last URL, something like this:

https://program.com/selection/download.php?id=26162 -o thirdfile.ext

aria2c下载列表语法是否可能?

Is it possible with aria2c download list syntax?

我知道我可以这样做:

aria2c https://link.com/file/get/somefile.ext
aria2c https://go.com/download/anotherfile.ext
aria2c https://program.com/selection/download.php?id=26162 -o thirdfile.ext

但是这种方式我运行了太多的aria2c。 ._。

But this way I run just too much of aria2c's. ._.

推荐答案

来自 -input-file =


此外,可以在每个URI行之后指定选项。选项行必须以一个或多个空格字符( SPACE TAB )开头,并且每行只能包含一个选项。 …有关详细信息,请参见输入文件小节。

Additionally, options can be specified after each URI line. Option lines must start with one or more white space characters (SPACE or TAB) and must only contain one option per line. … See the Input File subsection for details.

如果你问我,那不是很清楚。因此,这是一个输入文件的示例(只有一个条目):

If you ask me, that is not exactly crystal clear. So here's an example of an input file (with a single entry):

http://www.openclonk.org/header/logo.png
        out=openclonk.png

这篇关于aria2c可以下载带有特定文件名的URL列表吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆