mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-16 19:50:01 +08:00
fix: remove cnbeta 6.18 ad (#4983)
This commit is contained in:
@@ -8,6 +8,9 @@ module.exports = async (ctx) => {
|
||||
const ProcessFeed = (data) => {
|
||||
const $ = cheerio.load(data);
|
||||
|
||||
// 移除6.18广告
|
||||
$('.article-global').remove();
|
||||
|
||||
// 提取内容
|
||||
return $('.article-summary p').html() + '<br>' + $('.article-content').html();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user