From 6b7949a96a29dea34552315ccfee0a7fe2092b9e Mon Sep 17 00:00:00 2001 From: Andvari <31068367+dzx-dzx@users.noreply.github.com> Date: Thu, 21 Sep 2023 22:14:14 +0800 Subject: [PATCH] fix(route): Refine category for udn feed. (#13351) --- lib/v2/udn/breaking-news.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/udn/breaking-news.js b/lib/v2/udn/breaking-news.js index c894c311d5001e..2f989fd54e4c80 100644 --- a/lib/v2/udn/breaking-news.js +++ b/lib/v2/udn/breaking-news.js @@ -55,7 +55,7 @@ module.exports = async (ctx) => { author: data.author.name, description, pubDate: timezone(parseDate(item.time.date, 'YYYY-MM-DD HH:mm'), +8), - category: [data.articleSection, ...data.keywords.split(',')], + category: [data.articleSection, $("meta[name='subsection']").attr('content'), ...data.keywords.split(',')], link, }; });