wget 在MacOS下载文件超级慢的解决办法?
2020-11-05 本文已影响0人
Happy晓哥
首先查看代理是否设置了
打开用户根目录, 然后comman + shift + . 显示隐藏文件, 找到.wgetrc文件, 如果没有此文件, 就新建一个命名为.wgetrc文件.

将以下代码复制到文件里即可, 注意修改端口号.就完事了
#You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = http://127.0.0.1:1087/
http_proxy = http://127.0.0.1:1087/
ftp_proxy = http://127.0.0.1:1087/
# If you do not want to use proxy at all, set this to off.
use_proxy = on
