mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-21 12:49:53 +08:00
fix: wenxuemi remove slice for cache check (#4390)
This commit is contained in:
@@ -44,7 +44,7 @@ module.exports = async (ctx) => {
|
||||
description: res.html(),
|
||||
link: link,
|
||||
};
|
||||
if (res.text().slice(0, 10).includes('正在手打中') === false) {
|
||||
if (res.text().includes('正在手打中') === false) {
|
||||
ctx.cache.set(link, JSON.stringify(resultItem));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user