diff --git a/lib/routes/novel/biqugeinfo.js b/lib/routes/novel/biqugeinfo.js index 16180923d..cbb831d5c 100644 --- a/lib/routes/novel/biqugeinfo.js +++ b/lib/routes/novel/biqugeinfo.js @@ -35,7 +35,7 @@ module.exports = async (ctx) => { const items = []; for await (const item of asyncPool(3, chapter_item, (item) => - ctx.cache.tryGet(item, async () => { + ctx.cache.tryGet(item.link.href, async () => { const response = await got({ method: 'get', url: item.link, @@ -61,7 +61,7 @@ module.exports = async (ctx) => { ctx.state.data = { title: `笔趣阁 ${title}`, - link: pageUrl, + link: pageUrl.href, image: cover_url, description, item: items,