feat(route/pixiv): add category to search results (#23113)

This commit is contained in:
Tony
2026-08-26 04:47:40 +08:00
committed by GitHub
parent 1afe42be27
commit 8aeb46b3b4
+1
View File
@@ -116,6 +116,7 @@ async function handler(ctx) {
pubDate: parseDate(illust.create_date),
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),
};
}),
allowEmpty: true,