Skip to content

Commit

Permalink
fix(route): 优化 pixiv 搜索/书签 路由的简介 (#15603)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoMeiYouRen authored May 15, 2024
1 parent 3e90c3a commit 9305380
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/routes/pixiv/bookmarks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function handler(ctx) {
title: illust.title,
author: illust.user.name,
pubDate: parseDate(illust.create_date),
description: `<p>画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}</p>${images.join('')}`,
description: `${illust.caption}<br><p>画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}</p>${images.join('')}`,
link: `https://www.pixiv.net/artworks/${illust.id}`,
};
}),
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/pixiv/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function handler(ctx) {
title: illust.title,
author: illust.user.name,
pubDate: parseDate(illust.create_date),
description: `<p>画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}</p>${images.join('')}`,
description: `${illust.caption}<br><p>画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}</p>${images.join('')}`,
link: `https://www.pixiv.net/artworks/${illust.id}`,
};
}),
Expand Down

0 comments on commit 9305380

Please sign in to comment.