From edc31cf4954b8faef1b071454d1dda010f388621 Mon Sep 17 00:00:00 2001 From: Richard Xue Date: Mon, 4 Jan 2021 01:27:16 -0500 Subject: [PATCH] Update icity item link Otherwise guid will be the same for all entries --- lib/routes/icity/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/icity/index.js b/lib/routes/icity/index.js index db87c45fa..c6ec0f34d 100644 --- a/lib/routes/icity/index.js +++ b/lib/routes/icity/index.js @@ -13,7 +13,7 @@ module.exports = async (ctx) => { .map((_, item) => { item = $(item); return { - link: rootUrl, + link: `https://icity.ly${item.find('a.timeago').attr('href')}`, title: item.prev('li.day-cut').text(), description: item.find('div.line').html(), pubDate: new Date(item.find('time.hours').attr('datetime')).toUTCString(),