From 8aa7d7c92dc7cac959a3e48bbf7bcc522c5be2ac Mon Sep 17 00:00:00 2001 From: Ethan Shen <42264778+nczitzk@users.noreply.github.com> Date: Sun, 22 Oct 2023 00:28:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(route):=20=E4=BB=AE=E9=9D=A2=E3=83=A9?= =?UTF-8?q?=E3=82=A4=E3=83=80=E6=9C=80=E6=96=B0=E6=83=85=E5=A0=B1=20(#1359?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/v2/kamen-rider-official/news.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/kamen-rider-official/news.js b/lib/v2/kamen-rider-official/news.js index f514d35a71c454..232a535512813b 100644 --- a/lib/v2/kamen-rider-official/news.js +++ b/lib/v2/kamen-rider-official/news.js @@ -14,7 +14,7 @@ module.exports = async (ctx) => { const { data: currentResponse } = await got(currentUrl); - const buildId = currentResponse.match(/"buildId":"(\w+)"/)[1]; + const buildId = currentResponse.match(/"buildId":"(.*?)"/)[1]; const apiCategoryUrl = new URL(`_next/data/${buildId}/news_articles.json`, rootUrl).href;