diff --git a/lib/routes/xiaohongshu/user.ts b/lib/routes/xiaohongshu/user.ts index e97a226757883c..bf082925f3f33c 100644 --- a/lib/routes/xiaohongshu/user.ts +++ b/lib/routes/xiaohongshu/user.ts @@ -97,7 +97,7 @@ async function getUserFeeds(url: string, category: string) { notes.flatMap((n) => n.map(({ id, noteCard }) => ({ title: noteCard.displayTitle, - link: `${url}/${noteCard.noteId || id}`, + link: new URL(noteCard.noteId || id, url).toString(), guid: noteCard.noteId || id || noteCard.displayTitle, description: `
${noteCard.displayTitle}`, author: noteCard.user.nickname,