Skip to content

Commit

Permalink
fix(route): 修复 pixiv 排行榜/关注 路由缺失 简介的问题 (#15559)
Browse files Browse the repository at this point in the history
* fix(route): 修复 pixiv 排行榜路由缺失 简介的问题

* fix(route): 修复 Pixiv 关注 缺失简介和分类的问题

* fix(route): 修复 pixiv 的 deepscan 问题

---------

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
  • Loading branch information
CaoMeiYouRen and pull[bot] authored May 11, 2024
1 parent 1bbdbdd commit 05fe332
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/routes/pixiv/illustfollow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ async function handler() {
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}`,
category: illust.tags.map((tag) => tag.name),
};
}),
};
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/pixiv/ranking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function handler(ctx) {
return {
title: `#${index + 1} ${illust.title}`,
pubDate: parseDate(illust.create_date),
description: `<p>画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}</p><br>${images.join('')}`,
description: `${illust.caption}<br><p>画师:${illust.user.name} - 阅览数:${illust.total_view} - 收藏数:${illust.total_bookmarks}</p><br>${images.join('')}`,
link: `https://www.pixiv.net/artworks/${illust.id}`,
author: illust.user.name,
category: illust.tags.map((tag) => tag.name),
Expand Down

0 comments on commit 05fe332

Please sign in to comment.