From 3c3e8f19e7b5af4dec1cc1574700ff1f7f20e242 Mon Sep 17 00:00:00 2001 From: Nicolai Weitkemper Date: Mon, 27 Mar 2023 17:42:22 +0200 Subject: [PATCH] explicitly use `python3` in examples --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d905bb4..9ceb7c1 100644 --- a/README.md +++ b/README.md @@ -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: - python spotify-backup.py playlists.txt + python3 spotify-backup.py playlists.txt 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: - 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.