mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 15:21:59 +08:00
fix: cannot fetch content in engadget (#3723)
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = async (ctx) => {
|
|||||||
|
|
||||||
const ProcessFeed = (data) => {
|
const ProcessFeed = (data) => {
|
||||||
const $ = cheerio.load(data);
|
const $ = cheerio.load(data);
|
||||||
return $.html('#page_body .stretch-img') + '<br>' + $.html('.article-text');
|
return $('#post-center-col > div:nth-child(1)').html();
|
||||||
};
|
};
|
||||||
|
|
||||||
const items = await Promise.all(
|
const items = await Promise.all(
|
||||||
|
|||||||
Reference in New Issue
Block a user