From 9305380fcb4fb0a246b32bd4c8fc28178bf853e4 Mon Sep 17 00:00:00 2001 From: CaoMeiYouRen <40430746+CaoMeiYouRen@users.noreply.github.com> Date: Thu, 16 May 2024 01:50:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(route):=20=E4=BC=98=E5=8C=96=20pixiv=20?= =?UTF-8?q?=E6=90=9C=E7=B4=A2/=E4=B9=A6=E7=AD=BE=20=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E7=9A=84=E7=AE=80=E4=BB=8B=20(#15603)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/pixiv/bookmarks.ts | 2 +- lib/routes/pixiv/search.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/pixiv/bookmarks.ts b/lib/routes/pixiv/bookmarks.ts index 10b009faa..a49019f2e 100644 --- a/lib/routes/pixiv/bookmarks.ts +++ b/lib/routes/pixiv/bookmarks.ts @@ -58,7 +58,7 @@ async function handler(ctx) { title: illust.title, author: illust.user.name, pubDate: parseDate(illust.create_date), - description: `

画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}

${images.join('')}`, + description: `${illust.caption}

画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}

${images.join('')}`, link: `https://www.pixiv.net/artworks/${illust.id}`, }; }), diff --git a/lib/routes/pixiv/search.ts b/lib/routes/pixiv/search.ts index e4eb0f76d..8d9dda5fa 100644 --- a/lib/routes/pixiv/search.ts +++ b/lib/routes/pixiv/search.ts @@ -61,7 +61,7 @@ async function handler(ctx) { title: illust.title, author: illust.user.name, pubDate: parseDate(illust.create_date), - description: `

画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}

${images.join('')}`, + description: `${illust.caption}

画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}

${images.join('')}`, link: `https://www.pixiv.net/artworks/${illust.id}`, }; }),