fix(route): novel/biqugeinfo (#9934)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user