首先查看代理是否设置了
打开用户根目录, 然后comman + shift + . 显示隐藏文件, 找到.wgetrc文件, 如果没有此文件, 就新建一个命名为.wgetrc文件.
Snip20201105_1.png
将以下代码复制到文件里即可, 注意修改端口号.就完事了
#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
Snip20201105_3.png