Skip to content

Commit

Permalink
fix: radar.js with type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Dec 11, 2023
1 parent 7e698e2 commit 8037019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v2/dahecube/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 8037019

Please sign in to comment.