Closed tuhinkantipal closed 3 years ago
Btw all time you will not get song id from .split('"song":{"type":"')[1] .split('","image":')[0] .split('"')[8]; you have to check its pid also . here is a referance code for you https://github.com/cachecleanerjeet/jiosaavnapi/blob/dfbce23c419112991bce905a13834a8546efc8ae/index.js#L189
Previously: var songID = response.data .split('"song":{"type":"')[1] .split('","image":')[0] .split('"')[4];
Now: var songID = response.data .split('"song":{"type":"')[1] .split('","image":')[0] .split('"')[8];