microlinkhq/spotify-url-info

getPreview Does not return any data

NChemdok opened this issue · 2 comments

Describe the bug
the method getPreview() is unable to fetch the track details

Spotify URL(s)
tried with other track ids but doesnt work. Tried the deafult one on the github page, that also doesnt work.

Your Code
getPreview("https://open.spotify.com/track/5nTtCOCds6I0PHMNtqelas").then(
(data) => console.log(data)
);

Error Message
(node:18204) UnhandledPromiseRejectionWarning: Error: Couldn't find any data in embed page that we know how to parse
at D:\Projects\Discord\Manu Nahoi\node_modules\spotify-url-info\src\index.js:62:9

Yes. Working Perfectly now. :)