shell - 如何在openwrt使用wget抓取https文件?

查看:1106
本文介绍了shell - 如何在openwrt使用wget抓取https文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

我在 openwrt 上使用 wget 下载。

命令如下:

wget https://raw.githubusercontent.com/racaljk/hosts/master/tool
s/lhosts --no-check-certificate

然后出现了如下错误:

wget: not an http or ftp url: https://raw.githubusercontent.com/racaljk/hosts/master/tools/lhosts

为什么会这样?
该如何在 openwrt 里使用 wget 抓取 https 文件?
求教,谢谢大家!

解决方案

我发现可能是wget版本太旧,可是 opkg install wget 又提示 /overlay 空间不足,无法安装。。。算了,就这样吧。

这篇关于shell - 如何在openwrt使用wget抓取https文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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