fix(route/apnews): remove description (#14025)

This commit is contained in:
Andvari 2023-12-14 04:49:50 +08:00 committed by GitHub
parent 3f7c8d9d0a
commit cbd46f6ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ module.exports = async (ctx) => {
const $ = cheerio.load(response.data);
const items = await Promise.all(
$('.PagePromo-content')
$('.PagePromo-content bsp-custom-headline')
.get()
.slice(0, ctx.query.limit ? parseInt(ctx.query.limit) : Infinity)
.map((e) => ({