diff --git a/lib/routes/3dm/news_center.js b/lib/routes/3dm/news_center.js index 07513dc75..527fe5ceb 100644 --- a/lib/routes/3dm/news_center.js +++ b/lib/routes/3dm/news_center.js @@ -23,6 +23,12 @@ module.exports = async (ctx) => { } const title = $(item) .find('.text') + .find('.bt') + .text(); + + const category = $(item) + .find('.text') + .find('.bq') .find('a') .text(); @@ -40,6 +46,7 @@ module.exports = async (ctx) => { const single = { title: title, + category: category, description: description, pubDate: time.toUTCString(), link: itemUrl,