fix(route): novel/biqugeinfo (#9934)

This commit is contained in:
Ezekiel
2022-06-11 19:51:27 +05:00
committed by GitHub
parent 196a951fe2
commit f3db6b8aff
+2 -2
View File
@@ -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,