diff --git a/lib/routes/tencent/wechat/wemp.js b/lib/routes/tencent/wechat/wemp.js index f4d09dc93..ffe88823f 100644 --- a/lib/routes/tencent/wechat/wemp.js +++ b/lib/routes/tencent/wechat/wemp.js @@ -41,16 +41,20 @@ module.exports = async (ctx) => { const article = cheerio.load(response); - return { + const single = { title: $(e) .find('.post-item__title') .text() .trim(), - link: article('.post__orilink').attr('href'), + link: article('.post__orilink') + .last() + .attr('href'), description: article('#content').html(), pubDate, author, }; + + return Promise.resolve(single); }) );