mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: reduce request items
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = async (ctx) => {
|
||||
.get();
|
||||
|
||||
const item = await Promise.all(
|
||||
list.map((item) =>
|
||||
list.slice(0, 10).map((item) =>
|
||||
ctx.cache.tryGet(item.link, async () => {
|
||||
const res = await got.get(item.link);
|
||||
const s = cheerio.load(res.data);
|
||||
|
||||
Reference in New Issue
Block a user