Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot read properties of undefined (reading 'csrftoken') #51

Open
DerZyklop opened this issue May 30, 2024 · 1 comment
Open

Comments

@DerZyklop
Copy link

I tried it like

spotify-playlist-downloader -u MyUserName -p MyPassword --playlist https://open.spotify.com/playlist/ThePlaylistIdIWantToDownload

But it gave me:

(node:167) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
/Users/nils/.nvm/versions/node/v20.12.2/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/lib/spotify.js:256
  debug('login CSRF token: %j, tracking ID: %j', args.csrftoken, args.trackingId);
                                                      ^

TypeError: Cannot read properties of undefined (reading 'csrftoken')
    at Spotify._onsecret (/Users/nils/.nvm/versions/node/v20.12.2/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/lib/spotify.js:256:55)
    (…)
Node.js v20.12.2
@qrpike
Copy link
Owner

qrpike commented Jun 3, 2024

This has not been maintained, It's very likely that it no longer works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants