diff --git a/lib/v2/kemono/index.js b/lib/v2/kemono/index.js index 73f0251fde9606..15ec4e53238a65 100644 --- a/lib/v2/kemono/index.js +++ b/lib/v2/kemono/index.js @@ -8,7 +8,7 @@ module.exports = async (ctx) => { const source = ctx.params.source ?? ''; const id = ctx.params.id; - const rootUrl = 'https://kemono.party'; + const rootUrl = 'https://kemono.su'; const apiUrl = `${rootUrl}/api/v1/discord/channel/lookup/${id}`; const currentUrl = `${rootUrl}/${source ? `${source}/${source === 'discord' ? `server/${id}` : `user/${id}`}` : 'posts'}`; @@ -87,6 +87,7 @@ module.exports = async (ctx) => { item.description = content('.post__body').html(); item.author = content('.post__user-name').text(); item.title = content('.post__title span').first().text(); + item.guid = item.link.replace('kemono.su', 'kemono.party'); item.pubDate = parseDate(content('.timestamp').attr('datetime')); return item; diff --git a/lib/v2/kemono/radar.js b/lib/v2/kemono/radar.js index c0e9c8b5892688..0edf08cd2e39cc 100644 --- a/lib/v2/kemono/radar.js +++ b/lib/v2/kemono/radar.js @@ -1,5 +1,5 @@ module.exports = { - 'kemono.party': { + 'kemono.su': { _name: 'Kemono', '.': [ {