From 1d4e8eaacaff9c0acc2127a4ffbf0b8042c88609 Mon Sep 17 00:00:00 2001 From: shanmite Date: Sat, 9 Nov 2024 13:50:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=93=E6=A0=8F=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=20(#425)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed #425 --- lib/net/bili.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/net/bili.js b/lib/net/bili.js index a518bf5..47ee6fd 100644 --- a/lib/net/bili.js +++ b/lib/net/bili.js @@ -568,7 +568,10 @@ const bili_client = { */ getOneArticleByCv(cv) { return get({ - url: API.READ_CV.replace('{{cv}}', cv) + url: API.READ_CV.replace('{{cv}}', cv), + config: { + redirect: true + } }); }, /**