mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
feat: filter out unnecessary items (zaker & futunn) (#6387)
This commit is contained in:
@@ -46,10 +46,11 @@ module.exports = async (ctx) => {
|
||||
return Promise.resolve(single);
|
||||
})
|
||||
);
|
||||
const outfilter = out.filter((t) => t.description !== '原文已被删除');
|
||||
|
||||
ctx.state.data = {
|
||||
title: `富途牛牛要闻`,
|
||||
link: link,
|
||||
item: out,
|
||||
item: outfilter,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -54,10 +54,11 @@ module.exports = async (ctx) => {
|
||||
return Promise.resolve(single);
|
||||
})
|
||||
);
|
||||
const outfilter = out.filter((t) => t.description !== '原文已被删除');
|
||||
|
||||
ctx.state.data = {
|
||||
title: `${title}-ZAKER精读新闻`,
|
||||
link: link,
|
||||
item: out,
|
||||
item: outfilter,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user