diff --git a/lib/v2/segmentfault/channel.js b/lib/v2/segmentfault/channel.js index de62204f14..5360159045 100644 --- a/lib/v2/segmentfault/channel.js +++ b/lib/v2/segmentfault/channel.js @@ -16,8 +16,8 @@ module.exports = async (ctx) => { const list = $('ul.bg-transparent.list-group.list-group-flush > li') .slice(0, 10) .map((_, item) => ({ - link: new URL($(item).find('div.content > h5 > a').attr('href'), host).href, - title: $(item).find('div.content > h5 > a').text(), + link: new URL($(item).find('div.content > h3.h5 > a').attr('href'), host).href, + title: $(item).find('div.content > h3.h5 > a').text(), author: $(item).find('span.name').text(), })) .get();