From b622409a6296e93a6b63da12b7c7a6fb23df10f2 Mon Sep 17 00:00:00 2001 From: MisteryMonster <40703811+MisteryMonster@users.noreply.github.com> Date: Thu, 2 Jul 2020 12:17:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:The=20Economist=20=E5=85=A8=E6=96=87?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E4=BF=AE=E5=A4=8D=20(#5095)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/the-economist/full.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/routes/the-economist/full.js b/lib/routes/the-economist/full.js index 73c80c3eb..2cb9e70a9 100644 --- a/lib/routes/the-economist/full.js +++ b/lib/routes/the-economist/full.js @@ -18,13 +18,11 @@ module.exports = async (ctx) => { }); const $ = cheerio.load(response.data); - $('.newsletter-form--inline').remove(); - $('.blog-post__asideable-wrapper').remove(); - - content = '