diff --git a/lib/routes/udn/breaking-news.ts b/lib/routes/udn/breaking-news.ts index 687a1ceae..a24cc4563 100644 --- a/lib/routes/udn/breaking-news.ts +++ b/lib/routes/udn/breaking-news.ts @@ -94,7 +94,7 @@ async function handler(ctx) { return { title: item.title, - author: data.author.name, + author: [{ name: $('.article-content__author').text().match('中央社')?.at(0) }, { name: data.publisher.name.match('轉角國際 udn Global')?.at(0) }, data.author].filter((e) => Boolean(e.name)), description, pubDate: timezone(parseDate(item.time.date, 'YYYY-MM-DD HH:mm'), +8), category: [data.articleSection, vip ? $('.article-head li.breadcrumb__item:last > b').text() : $("meta[name='subsection']").attr('content'), ...data.keywords.split(',')],