Automated downloading tool for Spotify playlists.
Selenium based tool to download spotify playlists automatically using:
Python 3.7-3.8 (tested)
selenium==3.141.0
Spotify-API
spotipy==2.19.0
Youtube Data-API v3
For a full list of dependencies check requirements.txt
.
Clone this repository git clone https://github.com/saadz-khan/SpotDown
cd SpotDown
python -m venv env
To activate the virtual environment run:
env\Scripts\activate.bat
for Command Prompt
env\Scripts\activate
in Windows Powershell
Install the dependencies using pip install -r requirements.txt
This part is a one time setup. Note down your API-keys and keep them to yourself
client_id
and client_secret
.Library
and search Youtube Data API v3
and click Enable this API
.Credential
on the left side-bar and click Create Credentials
on top of the page then API key
.variables.py
file and add the client_id, client_secret, API key
to spotify_client_id, spotify_client_secret, youtube_data_api_key
respectively.Please ensure that there is no directory named SpotDown/SpotDown/downloads after the first run or would give an error. (Will add some workaround later)
Replace https://open.spotify.com/playlist/link_to_playlist
with actual link by sharing the playlist and copying its link and Run:
python main.py https://open.spotify.com/playlist/link_to_playlist
Contributions, issues and feature requests are welcome. Feel free to check issues page if you want to contribute. Check the contributing guide.
Copyright (c) 2021 Saad Zafar Khan This project is MIT licensed.
Enjoy! A star would be appreciated. Issues and Pull Requests are open.