Skip to content

Commit

Permalink
Merge pull request DIYgod#6602 from yueyericardo/patch-1
Browse files Browse the repository at this point in the history
Fix icity item link
  • Loading branch information
NeverBehave authored Jan 11, 2021
2 parents b9b00a1 + edc31cf commit 4a3450d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/icity/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 4a3450d

Please sign in to comment.