From 67490024f80fdd398504792e4eec73014cbe0308 Mon Sep 17 00:00:00 2001 From: Fate2077 <47292243+Fate2077@users.noreply.github.com> Date: Thu, 20 Mar 2025 12:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=93=94=E5=93=A9=E5=93=94?= =?UTF-8?q?=E5=93=A9=E6=80=BB=E7=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复哔哩哔哩总结 --- apps/tools.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/tools.js b/apps/tools.js index 2e511ef..45d218e 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1116,7 +1116,11 @@ export class tools extends plugin { const summaryUrl = `${ BILI_SUMMARY }?${ wbi }`; logger.info(summaryUrl); // 构造结果:https://api.bilibili.com/x/web-interface/view/conclusion/get?bvid=BV1L94y1H7CV&cid=1335073288&up_mid=297242063&wts=1701546363&w_rid=1073871926b3ccd99bd790f0162af634 - return axios.get(summaryUrl) + return axios.get(summaryUrl, { + headers: { + Cookie: `SESSDATA=${ this.biliSessData }` + } + }) .then(resp => { const data = resp.data.data?.model_result; // logger.info(data)