caseychu/spotify-backup
caseychu/spotify-backup has 964 GitHub stars and 133 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-20 22:00 UTC. Last push 2024-09-22.
实测星标增长
- 24小时
- 0
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
A Python script that exports all of your Spotify playlists.
开发工具README.md
原文spotify-backup
A Python script that exports all of your Spotify playlists, useful for paranoid Spotify users like me, afraid that one day Spotify will go under and take all of our playlists with it!
To run the script, save it from here and double-click it. It'll ask you for a filename and then pop open a web page so you can authorize access to the Spotify API. Then the script will load your playlists and save a tab-separated file with your playlists that you can open in Excel. You can even copy-paste the rows from Excel into a Spotify playlist.
You can run the script from the command line:
python3 spotify-backup.py playlists.txt
or, to get a JSON dump, use:
python3 spotify-backup.py playlists.json --format=json
By default, it includes your playlists. To include your Liked Songs, you can use:
python3 spotify-backup.py playlists.txt --dump=liked,playlists
If for some reason the browser-based authorization flow doesn't work, you can also generate an OAuth token on the developer site (with the playlist-read-private permission) and pass it with the --token option.
Collaborative playlists and playlist folders don't show up in the API, sadly.