fix: wenxuemi remove slice for cache check (#4390)
This commit is contained in:
parent
9a3a99eb90
commit
dfdde83f7c
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue