diff --git a/lib/routes/tencent/wechat/ershcimi.js b/lib/routes/tencent/wechat/ershcimi.js index a447cbbcb0..165d59a4e4 100644 --- a/lib/routes/tencent/wechat/ershcimi.js +++ b/lib/routes/tencent/wechat/ershcimi.js @@ -6,8 +6,6 @@ module.exports = async (ctx) => { const url = `https://www.ershicimi.com/a/${id}`; const response = await got(url); const $ = cheerio.load(response.data); - const name = $('#wrapper > .yheader > .info-wrap .name').text(); - const description = $('#wrapper .right > .Card .Profile-sideColumnItemValue').text(); const items = $('.weui_media_box') .map((_, ele) => { const $item = cheerio.load(ele); @@ -19,9 +17,9 @@ module.exports = async (ctx) => { }) .get(); ctx.state.data = { - title: `微信公众号 - ${name}`, + title: `微信公众号 - ${$('span.name').text()}`, link: url, - description, + description: $('div.Profile-sideColumnItemValue').text(), item: items, }; };