mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2025-01-15 02:35:14 +00:00
Merge pull request 'fixed downloading user-uploaded tracks' (#4) from uhwot/deemix-js:user-upped-trk-fix into main
Reviewed-on: https://git.freezer.life/RemixDev/deemix-js/pulls/4
This commit is contained in:
commit
54d3252c66
|
@ -22,7 +22,7 @@ async function generateTrackItem(dz, id, bitrate, trackAPI, albumAPI){
|
|||
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
|
||||
let trackAPI_gw
|
||||
|
|
Loading…
Reference in a new issue