fix: cannot fetch content in engadget (#3723)

This commit is contained in:
Luyu Huang
2020-01-14 11:57:53 +08:00
committed by DIYgod
parent f83d7e1f53
commit 2e90c11807

View File

@@ -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(