From bda9d721e591b7c79e8dc67e5ed699fed22313e3 Mon Sep 17 00:00:00 2001 From: Henry Date: Sat, 26 Dec 2020 11:29:05 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20myft=20=E7=A7=BB=E9=99=A4=E5=B9=BF?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/ft/myft.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/routes/ft/myft.js b/lib/routes/ft/myft.js index b6d3c3ba5..8b82025a1 100644 --- a/lib/routes/ft/myft.js +++ b/lib/routes/ft/myft.js @@ -4,7 +4,8 @@ const cheerio = require('cheerio'); module.exports = async (ctx) => { const ProcessFeed = (content) => { - content.find('div.o-share, aside').remove(); + // clean up the article + content.find('div.o-share, aside, div.o-ads').remove(); return content.html(); };