diff --git a/lib/routes/manxiaosi/book.js b/lib/routes/manxiaosi/book.js index f7fe949b4..ad2e96edc 100644 --- a/lib/routes/manxiaosi/book.js +++ b/lib/routes/manxiaosi/book.js @@ -8,7 +8,7 @@ module.exports = async (ctx) => { const url = host + `/book/${id}`; const response = await got.get(url); const $ = cheerio.load(response.data); - const list = $('#detail-list-select > li > a').reverse().slice(0, 10).get(); + const list = $('#detail-list-select > li > a').get().reverse().slice(0, 10); const items = await Promise.all( list.map(async (item) => {