fix(route): 晚点报道 (#13204)

* Update index.js

* Update radar.js
This commit is contained in:
Sussurr 2023-09-05 05:32:37 +08:00 committed by GitHub
parent 5cef317a43
commit 954491b980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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');