mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 23:00:48 +08:00
feat: generate quote content_html, telegram channel repost extra data
This commit is contained in:
@@ -139,6 +139,11 @@ module.exports = async (ctx, next) => {
|
||||
});
|
||||
|
||||
item.description = $('body').html() + '' + (config.suffix || '');
|
||||
|
||||
const quote = item._extra?.links?.find((e) => e.type === 'quote');
|
||||
if (quote && $('.rsshub-quote').length) {
|
||||
quote.content_html = $.html($('.rsshub-quote'));
|
||||
}
|
||||
}
|
||||
return item;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user