mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route): Add category to ft.com feed & Update full text mechanism. (#13387)
This commit is contained in:
+2
-1
@@ -27,7 +27,8 @@ module.exports = async (ctx) => {
|
||||
|
||||
const $ = cheerio.load(response.data);
|
||||
|
||||
item.description = ProcessFeed($('div.article__content-body'));
|
||||
item.description = ProcessFeed($('article.js-article__content-body'));
|
||||
item.category = JSON.parse($('script[type="application/ld+json"]').eq(1).text()).itemListElement.map((e) => e.name);
|
||||
item.author = $('a.n-content-tag--author').text();
|
||||
|
||||
return item;
|
||||
|
||||
Reference in New Issue
Block a user