fix: myft 移除广告

This commit is contained in:
Henry
2020-12-26 11:29:05 +00:00
parent bbb4e4d25c
commit bda9d721e5
+2 -1
View File
@@ -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();
};