mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: huanqiu fetch error (#10795)
This commit is contained in:
@@ -47,7 +47,7 @@ module.exports = async (ctx) => {
|
||||
url: item.link,
|
||||
});
|
||||
const content = cheerio.load(detailResponse.data);
|
||||
item.description = content('article').html();
|
||||
item.description = content('textarea.article-content').text();
|
||||
item.author = content('span', '.source').text();
|
||||
item.pubDate = timezone(parseDate(content('p.time').text()), +8);
|
||||
return item;
|
||||
|
||||
Reference in New Issue
Block a user