From 2e90c118079ade9db0c98a6e18f7d0817663266b Mon Sep 17 00:00:00 2001 From: Luyu Huang Date: Tue, 14 Jan 2020 11:57:53 +0800 Subject: [PATCH] fix: cannot fetch content in engadget (#3723) --- lib/routes/engadget-cn/home.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/engadget-cn/home.js b/lib/routes/engadget-cn/home.js index 90da444092..9620cc92f3 100644 --- a/lib/routes/engadget-cn/home.js +++ b/lib/routes/engadget-cn/home.js @@ -7,7 +7,7 @@ module.exports = async (ctx) => { const ProcessFeed = (data) => { const $ = cheerio.load(data); - return $.html('#page_body .stretch-img') + '
' + $.html('.article-text'); + return $('#post-center-col > div:nth-child(1)').html(); }; const items = await Promise.all(