fix: myft 移除广告
This commit is contained in:
parent
bbb4e4d25c
commit
bda9d721e5
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue