Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ricardojoserf/spotify-playlist-downloader
Downloading Spotify Playlists
https://github.com/ricardojoserf/spotify-playlist-downloader
no-more-ads-spotify-plz spotify spotify-api spotify-playlist spotify-playlist-downloader
Last synced: about 2 months ago
JSON representation
Downloading Spotify Playlists
- Host: GitHub
- URL: https://github.com/ricardojoserf/spotify-playlist-downloader
- Owner: ricardojoserf
- Created: 2019-01-28T15:04:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-18T01:50:41.000Z (11 months ago)
- Last Synced: 2024-05-01T13:11:43.207Z (5 months ago)
- Topics: no-more-ads-spotify-plz, spotify, spotify-api, spotify-playlist, spotify-playlist-downloader
- Language: Python
- Homepage:
- Size: 355 KB
- Stars: 17
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spotify-playlist-downloader - Downloading Spotify Playlists
From Playlist ID:
```
python3 main.py -p PLAYLIST_SPOTIFY_ID -i CLIENT_ID -s CLIENT_SECRET [-d OUTPUT_DIRECTORY]
```From Playlist URI:
```
python3 main.py -u PLAYLIST_SPOTIFY_URI -i CLIENT_ID -s CLIENT_SECRET [-d OUTPUT_DIRECTORY]
```--------------------------------------------------
## Example
```
python3 main.py -p 0AFu117j8WX2auNWDAyMMV -i $CLIENT_ID -s $CLIENT_SECRET -d playlist_id_example_outputpython3 main.py -u spotify:playlist:0AFu117j8WX2auNWDAyMMV -i $CLIENT_ID -s $CLIENT_SECRET -d uri_example_output
```![Screenshot](https://i.imgur.com/6DyO0Tz.jpg)
Result:
![Screenshot](https://i.imgur.com/EzNTbPx.png)
--------------------------------------------------
## Steps & Requirements
#### 1) Get your own CLIENT_ID and SECRET_ID
You can visit the official page (https://developer.spotify.com/documentation/general/guides/authorization-guide/) or follow these instructions:
- Visit and log into: https://developer.spotify.com/dashboard/applications
- Create a test application and get the "Client ID" and "Client Secret" values. Use them with the paramaters "-i" and "-s"
#### 2.a) Get the Playlist ID if using web client...
![Screenshot](https://i.imgur.com/70VDD4K.png)
#### 2.b) ...or get the Playlist URI if using heavy client
![Screenshot](https://i.imgur.com/YliDKpR.png)
#### 3) Install dependencies
```
apt install ffmpegpip3 install -r requirements.txt
```-----------------------------
## Authors
- [@Javisalva9](https://github.com/Javisalva9)
- [@ricardojoserf](https://github.com/ricardojoserf)
- [@chess7th](https://github.com/chess-seventh)
## Note
Only working with Python 3.x (tested using 3.8.1).