使用 Axel Downloader 进行 HTTPS 身份验证

使用 Axel Downloader 进行 HTTPS 身份验证

有没有办法使用 Axel 的 https 身份验证来下载文件?

我已经经历过这个答案并尝试了所写的内容,但没有达到任何程度。我得到了
HTTP/1.1 401 Unauthorized
此输入命令的输出:
axel -n 60 -k -H "Authorisation: Basic [some hash string]" "https://xxx.rar"
使用以下命令生成哈希字符串:
echo -n "username:password" | openssl base64

所以最终,我想知道,我应该在输入命令中更改什么才能下载文件?

答案1

标准 url 方案为: proto://user:password@host:port/path

axel -n 60 -k "https://user:password@host/xxx.rar" 

相关内容