mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-08-29 01:53:47 +08:00
feat(route/nytimes): include author information in RSS feed items (#18893)
This commit is contained in:
@@ -49,7 +49,11 @@ async function handler(ctx) {
|
||||
|
||||
const $ = load(res);
|
||||
|
||||
return { ...e, description: $("[name='articleBody']").html() };
|
||||
return {
|
||||
...e,
|
||||
description: $("[name='articleBody']").html(),
|
||||
author: $('meta[name="byl"]').attr('content'),
|
||||
};
|
||||
})
|
||||
)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user