From c0a2dff97503d77cfc6f01e305e35821476d74c2 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Fri, 20 Sep 2024 22:26:59 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D=20xhs?= =?UTF-8?q?=20=E7=9A=84discovery=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/tools.js b/apps/tools.js index 569f497..a6c029d 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1052,6 +1052,9 @@ export class tools extends plugin { || /(http:|https:)\/\/www\.xiaohongshu\.com\/explore\/(\w+)/.exec( e.msg, )?.[0] + || /(http:|https:)\/\/www\.xiaohongshu\.com\/discovery\/item\/(\w+)/.exec( + e.msg, + )?.[0] // 注入ck XHS_NO_WATERMARK_HEADER.cookie = this.xiaohongshuCookie; // 解析短号