Merge branch 'master' of github.com:DIYgod/RSSHub

This commit is contained in:
jjeejj 2018-05-08 21:09:39 +08:00
commit 3790cb8ec0
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ module.exports = async (ctx) => {
description: `${$('#zh-fav-head-description').text()}`,
item: list && list.map((index, item) => {
item = $(item);
let linkUrl = item.find('.zm-item-title a').attr('href');
let linkUrl = item.find('link').attr('href');
if (linkUrl.startsWith('/')) linkUrl = 'https://www.zhihu.com' + linkUrl;
return {
title: item.find('.zm-item-title a').text(),