From fc6a06aacbf24fdf7c2e869ce153aac0737f8a1e Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Thu, 2 Mar 2023 22:22:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=8A=96=E9=9F=B3=E5=9B=BE=E7=89=87=E8=A7=A3=E6=9E=90=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tools.js b/apps/tools.js index da6d4bc..6de5f88 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -151,7 +151,7 @@ export class tools extends plugin { const dyApi = 'https://www.douyin.com/aweme/v1/web/aweme/detail/?' const params = `aweme_id=${ douId }&aid=1128&version_name=23.5.0&device_platform=android&os_version=2333` // xg参数 - axios.post(`http://47.115.200.238/xg/path?url=${params.replace('&','%26')}`, { + axios.post(`http://47.115.200.238/xg/path?url=${params.replaceAll('&','%26')}`, { headers: { "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36", "referer": "https://www.douyin.com/",