Update icity item link

Otherwise guid will be the same for all entries
This commit is contained in:
Richard Xue
2021-01-04 01:27:16 -05:00
committed by GitHub
parent d9514090a5
commit edc31cf495
+1 -1
View File
@@ -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(),