From f6caf50e679f8d99bf2a6bc3ad8e49d20b587a57 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Sat, 24 Aug 2024 14:52:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=9F=20feat:=20Linux=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=A2=9E=E5=8A=A0=E7=BC=93=E5=AD=98=EF=BC=8C?= =?UTF-8?q?=E9=80=9F=E5=BA=A6=E6=9B=B4=E5=BF=AB=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/query.js b/apps/query.js index 28859c8..52db2f6 100644 --- a/apps/query.js +++ b/apps/query.js @@ -291,7 +291,7 @@ export class query extends plugin { // 没有在缓存里,直接发起网络请求 const resp = await fetch(LINUX_QUERY.replace("{}", order), { headers: { - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.142.86 Safari/537.36" + "User-Agent": COMMON_USER_AGENT } }); linuxOrderData = (await resp.json()).data;