mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-23 09:49:47 +08:00
fix: 懂球帝缓存错误
This commit is contained in:
@@ -91,18 +91,16 @@ const ProcessFeed = async (ctx, link, type) => {
|
||||
const title = item.title;
|
||||
const link = `https://www.dongqiudi.com/news/${item.id}.html`;
|
||||
|
||||
return ctx.cache.tryGet(link, () =>
|
||||
ctx.cache.tryGet(link, () => {
|
||||
const single = {
|
||||
title,
|
||||
link,
|
||||
};
|
||||
return ctx.cache.tryGet(link, () => {
|
||||
const single = {
|
||||
title,
|
||||
link,
|
||||
};
|
||||
|
||||
const es = got(link);
|
||||
proList.push(es);
|
||||
return single;
|
||||
})
|
||||
);
|
||||
const es = got(link);
|
||||
proList.push(es);
|
||||
return single;
|
||||
});
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user