【发布时间】:2015-11-18 14:50:37
【问题描述】:
我想通过 RawGit 使用 wget 检索文件。 我正在使用的命令:
wget raw.githubusercontent.com/DevBonBon/The_Thing/Finish-Tim-TheThing/system/bin/Tim
然后它返回:
Connecting to raw.githubusercontent.com (23.235.43.133:80)
wget: not an http or ftp url: https://raw.githubusercontent.com/DevBonBon
/The_Thing/Finish-Tim-TheThing/system/bin/Tim 我正在使用busyboxes wget,因为我希望它可以在android上运行。该命令在 Linux 上运行良好,但在使用 busybox 时总是失败。有没有办法绕过这个或其他我可以使用的命令?
【问题讨论】:
-
我可以将 GNU wget 添加到 android 并改用它,但这应该是最后一个使用选项。
-
看起来busybox中嵌入的wget不是用ssl编译的
-
@njzk2 好吧,他们太傻了,还有其他命令可以用来代替 wget 吗?
-
要么安装正确的 wget 或其他类似 curl 的东西,要么在不会强制重定向到 https 的 http 服务器上提供您的文件。
-
有没有办法从 raw.githubusercontent.com 不使用使用 HTTPS 下载,即使用 raw.githubusercontent.com 理解和阻止的一些 URL 参数或 HTTP 请求标头重定向?