From 3d591d69961a3e77de04ee72e0bf727448029f19 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Tue, 28 May 2024 20:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20reactor:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index 6a1a448..6842658 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -255,12 +255,12 @@ export class tools extends plugin { }; const dyApi = DY_INFO.replace("{}", douId); // xg参数 - const xbParam = aBogus.generate_a_bogus( + const abParam = aBogus.generate_a_bogus( new URLSearchParams(new URL(dyApi).search).toString(), headers["User-Agent"], ); // const param = resp.data.result[0].paramsencode; - const resDyApi = `${ dyApi }&a_bogus=${ xbParam }`; + const resDyApi = `${ dyApi }&a_bogus=${ abParam }`; headers['Referer'] = `https://www.douyin.com/video/${ douId }` const dyResponse = () => axios.get(resDyApi, { headers,