From 954491b980c15eb342b1ff878a5e49b55d3f7e79 Mon Sep 17 00:00:00 2001 From: Sussurr <93532398+sussurr127@users.noreply.github.com> Date: Tue, 5 Sep 2023 05:32:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(route):=20=E6=99=9A=E7=82=B9=E6=8A=A5?= =?UTF-8?q?=E9=81=93=20(#13204)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update index.js * Update radar.js --- lib/v2/latepost/index.js | 2 +- lib/v2/latepost/radar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/v2/latepost/index.js b/lib/v2/latepost/index.js index 1746fe87d..8db681379 100644 --- a/lib/v2/latepost/index.js +++ b/lib/v2/latepost/index.js @@ -40,7 +40,7 @@ module.exports = async (ctx) => { const columns = arrayToDictionary(columnResponse?.data ?? []); const { data: response } = await got.post(apiUrl, { - json: { + form: { page: 1, limit, programa: parseInt(proma, 10), diff --git a/lib/v2/latepost/radar.js b/lib/v2/latepost/radar.js index 6634bb61b..e8d8f410e 100644 --- a/lib/v2/latepost/radar.js +++ b/lib/v2/latepost/radar.js @@ -5,7 +5,7 @@ module.exports = { { title: '报道', docs: 'https://docs.rsshub.app/routes/new-media#wan-dian-latepost-bao-dao', - source: '/', + source: '*', target: (params, url) => { url = new URL(url); const proma = url.searchParams.get('proma');