diff --git a/lib/v2/wanqu/news.js b/lib/v2/wanqu/news.js index 5052b39c5..a888970a3 100644 --- a/lib/v2/wanqu/news.js +++ b/lib/v2/wanqu/news.js @@ -13,9 +13,10 @@ module.exports = async (ctx) => { const items = $('div.mb-4') .toArray() .map((item) => ({ - title: $(item).text(), + title: $(item).find('a').text(), + description: $(item).find('a').text(), link: $(item).find('a').attr('href'), - pubDate: parseDate($(item).find('i.text-helper-color.mr-4').text()), + pubDate: parseDate($(item).find('i.text-helper-color.mr-4').text().trim()), })); ctx.state.data = {