Skip to content

Commit

Permalink
fix(route): linovelib volume (#15039)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkscv committed Apr 1, 2024
1 parent ffd5f26 commit 255f04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/linovelib/volume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 255f04b

Please sign in to comment.