Skip to content

Commit 74f0d40

Browse files
authored
fix(route/kakuyomu): add missing link and guid (#19767)
* fix(route/kakuyomu): add missing link and guid * add link
1 parent 043e0d1 commit 74f0d40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/routes/kakuyomu/works.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,18 @@ async function handler(ctx: Context): Promise<Data> {
5858
const description = $('.widget-episodeBody').html();
5959
return {
6060
title: item.title,
61+
link: episodeUrl,
6162
description,
6263
pubDate: parseDate(item.publishedAt),
64+
guid: item.id,
6365
};
6466
});
6567
})
6668
)) as DataItem[];
6769

6870
return {
6971
title,
72+
link: url,
7073
description: catchphrase,
7174
item: items,
7275
};

0 commit comments

Comments
 (0)