mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-28 18:36:26 +00:00
fixed downloading user-uploaded tracks
This commit is contained in:
parent
45bdf5740a
commit
659808dcec
|
@ -22,7 +22,7 @@ async function generateTrackItem(dz, id, bitrate, trackAPI, albumAPI){
|
||||||
throw new ISRCnotOnDeezer(`https://deezer.com/track/${id}`)
|
throw new ISRCnotOnDeezer(`https://deezer.com/track/${id}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!(/^\d+$/.test(id))) throw new InvalidID(`https://deezer.com/track/${id}`)
|
if (!(/^-?\d+$/.test(id))) throw new InvalidID(`https://deezer.com/track/${id}`)
|
||||||
|
|
||||||
// Get essential track info
|
// Get essential track info
|
||||||
let trackAPI_gw
|
let trackAPI_gw
|
||||||
|
|
Loading…
Reference in a new issue