From 1af6cf36d29fc9c85eba87301e2adbc4866ba6c9 Mon Sep 17 00:00:00 2001 From: juewuy Date: Mon, 2 Feb 2026 20:15:53 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8B=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=8B=89?= =?UTF-8?q?=E5=8F=96=E5=A4=B1=E8=B4=A5=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/libs/web_get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libs/web_get.sh b/scripts/libs/web_get.sh index d3c33b6b..c05f7f4b 100644 --- a/scripts/libs/web_get.sh +++ b/scripts/libs/web_get.sh @@ -13,7 +13,7 @@ webget(){ #参数【$1】代表下载目录,【$2】代表在线地址 #参数【$3】代表输出显示,【$4】不启用重定向 #参数【$5】代表验证证书,【$6】使用自定义UA - [ -n "$6" ] && agent="--user-agent \"$6\"" + [ -n "$6" ] && agent="--user-agent $6" if wget --help 2>&1 | grep -q 'show-progress' >/dev/null 2>&1; then [ "$3" = "echooff" ] && progress='-q' || progress='-q --show-progress' [ "$4" = "rediroff" ] && redirect='--max-redirect=0' || redirect=''