pull/50/merge
Nicolai Weitkemper 2023-03-27 17:44:11 +02:00 committed by GitHub
commit bdde1be1b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -7,15 +7,15 @@ To run the script, [save it from here](https://raw.githubusercontent.com/caseych
You can run the script from the command line: You can run the script from the command line:
python spotify-backup.py playlists.txt python3 spotify-backup.py playlists.txt
or, to get a JSON dump, use: or, to get a JSON dump, use:
python spotify-backup.py playlists.json --format=json python3 spotify-backup.py playlists.json --format=json
By default, it includes your playlists. To include your Liked Songs, you can use: By default, it includes your playlists. To include your Liked Songs, you can use:
python spotify-backup.py playlists.txt --dump=liked,playlists 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](https://developer.spotify.com/web-api/console/get-playlists/) on the developer site (with the `playlist-read-private` permission) and pass it with the `--token` option. If for some reason the browser-based authorization flow doesn't work, you can also [generate an OAuth token](https://developer.spotify.com/web-api/console/get-playlists/) on the developer site (with the `playlist-read-private` permission) and pass it with the `--token` option.