Comments (13)
I don't use any other modules for YouTube/Soundcloud/other platforms. Just this module to turn Spotify URLs into data which I can throw into YouTube. Used the file mentioned above and it worked fine again
from spotify-url-info.
Thanks, playlists work. But albums aren't working.. Any fix for that?
from spotify-url-info.
Individual Spotify song links don't seem to work either.
from spotify-url-info.
Same issue here, none of the support "types" actually return data
from spotify-url-info.
This issue is so weird too because it was literally working yesterday until this error happened. Did Spotify change up how their playlists and links work?
Similar errors also happened to me for YouTube Playlists and SoundCloud playlists for different modules.
from spotify-url-info.
Playlists only seem to work for me now though, not albums or individual Spotify song links, I just get some weird error of "cannot read forEach of undefined". No idea how to fix it since I'm assuming its because of the module.
from spotify-url-info.
What line is that error on
from spotify-url-info.
That's what the line is, it says cannot read property forEach of undefined. I assume its because its not getting the album data?
from spotify-url-info.
Albums, Artists and Playlists return different Objects, look into those and fix your code. This is an issue on your side ^^
from spotify-url-info.
Really? Because albums always worked with that code. Unless it changed what am I supposed to change it to?
from spotify-url-info.
A new version that fixes this issue is available on npm (npm install [email protected]
).Thanks @crxts.
This library relies on scraping unofficial spotify data which they can change at any time without notice. So it is to be expected that it can stop working without any code errors in your app or the library. All we can do is adapt the library to spotify changes as quickly as possible.
from spotify-url-info.
If you have a specific spotify link that still doesn't work with the new version, please share it.
from spotify-url-info.
BTW if at all possible you should try to use the data from getPreview, not getData, though that doesn't give you the entire playlist of course.
The getData data is passed on directly from spotify, so they may change it without triggering the tests for this library to fail.
There is a new type of podcast spotify embed page now that I just added parsing for. I expect other media types may move to the new style as well. The data between those two page styles is also not neccessarily the same, but getPreview
always is.
from spotify-url-info.
Related Issues (20)
- Problem getting tracks, may be me HOT 4
- Error: Couldn't find any data in embed page that we know how to parse HOT 5
- not able to fetch HOT 2
- Providing a Spotify link to a deleted track or playlist crashes the app HOT 3
- `getTracks` returning `duration` instead of `duration_ms` for some tracks. HOT 1
- Error: Couldn't find any data in embed page that we know how to parse HOT 5
- π‘Idea - Fetch All Tracks From Spotify URL Playlist HOT 1
- TypeError: Couldn't find scripts to get the data. HOT 2
- getTracks doesn't work anymore HOT 9
- Spotify URL(s) Spotify Playlist is not playing HOT 1
- It is neither possible to get the release date of a song/album nor distinguish between an album and a single HOT 1
- TypeError: require(...) is not a function HOT 2
- New Spotify URLs are not supported HOT 5
- TypeError: Couldn't find any data in embed page that we know how to parse. HOT 3
- Couldn't find scripts to get the data HOT 4
- TypeError: Couldn't find scripts to get the data. HOT 4
- Suggestion: ES Module import HOT 4
- Browserify with spotify-url-info HOT 1
- Doesn't work anymore - Spotify changed their embeds. HOT 4
- getPreview Does not return any data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotify-url-info.