Merge pull request #6602 from yueyericardo/patch-1

Fix icity item link
This commit is contained in:
NeverBehave 2021-01-10 20:02:41 -05:00 committed by GitHub
commit 4a3450dfd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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(),