fix(route/apnews): Correct property `author` (#19410)

This commit is contained in:
Andvari 2025-06-21 03:56:16 +08:00 committed by GitHub
parent 6059b5674f
commit 3779854c8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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,
author: ldjson.author?.map((e) => e.mainEntity),
};
} else {
// Live