mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: radar.js with type errors
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = {
|
||||
docs: 'https://docs.rsshub.app/routes/new-media#da-he-cai-li-fang',
|
||||
source: ['/channel.html', '/index.html'],
|
||||
target: (_, url) => {
|
||||
const id = new URL(url).searchParams.get('recid');
|
||||
const id = parseInt(new URL(url).searchParams.get('recid'));
|
||||
let type = 'recommend';
|
||||
const TypeMap = {
|
||||
recommend: {
|
||||
|
||||
Reference in New Issue
Block a user