pavelkomarov / exportify

Export Spotify playlists using the Web API. Analyze them in the Jupyter notebook.
https://exportify.net
MIT License
210 stars 24 forks source link

TypeError: null is not an object (evaluating 'song.track.artists') #21

Closed filbs13 closed 3 months ago

filbs13 commented 2 years ago

Receiving this error message when trying to export my playlists

pavelkomarov commented 2 years ago

hmm. Seems like Spotify can make the artists field null in the json some times, and my code isn't handling that. Definitely a bug. Not sure when I'll get around to trying to fix this. I welcome pull requests.

pavelkomarov commented 3 months ago

https://github.com/pavelkomarov/exportify/commit/07f47dbcd167cc26493ae55b828535aa4b6efb36