From 6f9ed0057d8b5818a8d6c4d75e4ea94c3d774c76 Mon Sep 17 00:00:00 2001
From: wushijishan <65406369+wushijishan@users.noreply.github.com>
Date: Sun, 23 Jan 2022 03:50:24 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0bookwalkertw=E4=B9=A6?=
=?UTF-8?q?=E7=B1=8D=E5=9B=BE=E7=89=87=E5=9C=B0=E5=9D=80=20(#8749)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
lib/routes/bookwalkertw/news.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/routes/bookwalkertw/news.js b/lib/routes/bookwalkertw/news.js
index ce5275e731..5db85cb44a 100644
--- a/lib/routes/bookwalkertw/news.js
+++ b/lib/routes/bookwalkertw/news.js
@@ -20,10 +20,10 @@ module.exports = async (ctx) => {
list
.map((index, item) => {
item = $(item);
- bookid = item.find('img').attr('data-src').split('/')[5];
+ bookid = item.find('img').attr('data-src').split('/')[4];
return {
title: item.find('.bookname').text(),
- description: `${item.find('.booknamesub').text()} | ${item.find('.bprice').text()}
`,
+ description: `${item.find('.booknamesub').text()} | ${item.find('.bprice').text()}
`,
link: item.find('a').attr('href'),
};
})