From d376d723c8e7b22f4223119325b5fa2f2412bbdd Mon Sep 17 00:00:00 2001 From: dzx-dzx Date: Thu, 6 Nov 2025 12:21:20 +0800 Subject: [PATCH] fix(route/apnews): Fix `author` property again --- lib/routes/apnews/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/apnews/utils.ts b/lib/routes/apnews/utils.ts index b8ce492725b385..02b462f6239ecf 100644 --- a/lib/routes/apnews/utils.ts +++ b/lib/routes/apnews/utils.ts @@ -44,7 +44,7 @@ export function fetchArticle(item) { description: $('div.RichTextStoryBody').html() || $(':is(.VideoLead, .VideoPage-pageSubHeading)').html(), category: [...(section ? [section] : []), ...(ldjson.keywords ?? [])], guid: $("meta[name='brightspot.contentId']").attr('content'), - author: ldjson.author?.map((e) => e.mainEntity), + author: ldjson.author, }; } else { // Live