Closed SONGjiemo closed 2 years ago
各个文档里说的很清楚了:
只需提前将 aria2c.exe 加入环境变量 [1] :
若你正在使用 video-downloader-deploy ,
将aria2c.exe
移动到usr\
文件夹下,即与annie.exe
或python-embed\
同一级。打开下载视频.bat
,输入以下命令检测是否配置正确:aria2c -v
简而言之,将 aria2c.exe
移动到 usr\
文件夹下即可。
youtube-dl 可以通过
--external-downloader COMMAND
和--external-downloader-args ARGS
参数 [2] 来调用 aria2c :--external-downloader COMMAND Use the specified external downloader. Currently supports aria2c,avconv,axel,c url,ffmpeg,httpie,wget --external-downloader-args ARGS Give these arguments to the external downloader
--external-downloader
参数用于指定下载器,这里我们用 aria2c
;--external-downloader-args
参数用于指定传递给 aria2c
的参数, -s 8
指将同一份文件分成8份并行下载,也就是所谓的“多线程下载”。
例子中的 --external-downloader-args "-s 8"
不是必须的,省略 -s
将默认为5线程 。为什么?因为 aira2 的官方文档里就是这么说的:Default: 5
。总结,你要是搞不懂,就直接 youtube-dl --external-downloader aria2c https://...视频网址...
嗯嗯,理解了。 我最后问一下,aria2c.exe如何 加入环境变量呀。
你要不再仔细看看我的回复?
刚刚测试 , 直接卡了,不知道咋回事
这个视频我能正常下载,你确认一下代理设置,或者换个非音乐(版权)类的短点的视频下载试一试,先看看能不能正常下载。
好的。
1、全局地址。显示计算机无法访问,设置禁用全局代理 就是卡死了。
你干脆把你的打包ZIP 发我吧。不测试了。
1、aira2c 是在环境变量。这个如何配置我有点懵逼。 2、我是就复制到指定文件夹aira2文件 3、卡了,反正最后下载不了文件。然后就是 我发现 经过我一顿操作,然后什么都不能下载了。之前还可以直接下载m3u8的
要不,咱们加个QQ聊
GitHub主页有我的邮箱
发了个邮箱。你打包发我试试
aria2.exe放到指定目录后,是不是就可以直接用多线程下载了。 我看到上图这一步,有疑问。是不是还需要配置他,如果是 我没有理解什么意思,因为图中有视频地址而地址是变化的。
期望答复我。