fix(route): linovelib volume (#15039)

This commit is contained in:
rkscv
2024-04-01 10:55:13 +08:00
committed by GitHub
parent ffd5f26d30
commit 255f04b8fe
+1 -1
View File
@@ -21,7 +21,7 @@ export const route: Route = {
async function handler(ctx: Context): Promise<Data> {
const { id } = ctx.req.param();
const link = `https://www.linovelib.com/novel/${id}/catalog`;
const $ = load(await got(link).text());
const $ = load((await got(link)).data);
return {
title: `${$('.book-meta h1').text()} - 哔哩轻小说`,
link,