Coder Social home page Coder Social logo

Comments (13)

TiltedKyoso avatar TiltedKyoso commented on June 14, 2024 1

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.

Muh9049 avatar Muh9049 commented on June 14, 2024

Thanks, playlists work. But albums aren't working.. Any fix for that?

from spotify-url-info.

Muh9049 avatar Muh9049 commented on June 14, 2024

Individual Spotify song links don't seem to work either.

from spotify-url-info.

TiltedKyoso avatar TiltedKyoso commented on June 14, 2024

Same issue here, none of the support "types" actually return data

from spotify-url-info.

Muh9049 avatar Muh9049 commented on June 14, 2024

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.

Muh9049 avatar Muh9049 commented on June 14, 2024

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.

TiltedKyoso avatar TiltedKyoso commented on June 14, 2024

What line is that error on

from spotify-url-info.

Muh9049 avatar Muh9049 commented on June 14, 2024

image
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.

TiltedKyoso avatar TiltedKyoso commented on June 14, 2024

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.

Muh9049 avatar Muh9049 commented on June 14, 2024

Really? Because albums always worked with that code. Unless it changed what am I supposed to change it to?

from spotify-url-info.

karlsander avatar karlsander commented on June 14, 2024

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.

karlsander avatar karlsander commented on June 14, 2024

If you have a specific spotify link that still doesn't work with the new version, please share it.

from spotify-url-info.

karlsander avatar karlsander commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.