From d6ed566f339f501cf484c2cc235589a2d2df2a31 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Wed, 30 Oct 2024 23:59:31 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D=20xhs?= =?UTF-8?q?=20=E6=97=A0=E6=B3=95=E8=A7=A3=E6=9E=90=20&&=20=E5=BE=AE?= =?UTF-8?q?=E5=88=9B=E9=87=8D=E6=9E=84=20xhs=20=E7=BB=93=E6=9E=84?= 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 531b2d4..60e654a 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1377,7 +1377,7 @@ export class tools extends plugin { const reg = /window\.__INITIAL_STATE__=(.*?)<\/script>/; const res = xhsHtml.match(reg)[1].replace(/undefined/g, "null"); const resJson = JSON.parse(res); - saveJsonToFile(resJson); + // saveJsonToFile(resJson); // 检测无效 Cookie if (resJson?.note === undefined || resJson?.note?.noteDetailMap?.[id]?.note === undefined) { e.reply(`检测到无效的小红书 Cookie,可以尝试清除缓存和cookie 或者 换一个浏览器进行获取\n${ HELP_DOC }`);