A simple Spotify playlist downloader web application built using the Flask framework. It allows you to input a Spotify playlist URL and download the songs in the playlist as audio files using the youtube-dl library.
Before using this application, you need to have the following dependencies installed:
- Python 3
- Flask
- Spotipy
- ytdl
You can install these dependencies using pip:
pip install -r requirements.txt
- Clone the repository to your local machine:
git clone https://github.com/riz4d/OpenSpot
-
Create a Spotify Developer Application and obtain your API credentials (Client ID and Client Secret). You can create an application here.
-
A config.py file in the directory and add your Spotify API credentials:
client_id = "your-client-id"
client_secret = "your-client-secret"
- Run the Flask application:
The app should be running at localhostpython3 app.py
-
Open your web browser and go to
http://localhost
-
Enter a valid Spotify playlist URL in the input field and click the "Download" button.
-
The application will use the Spotify API to fetch the track list from the playlist and pass the track names to ytdl and songs been start downloads
-
You can check the progress of the downloads on the web page.
-
This application is for educational purposes only and should only be used to download songs you have the legal right to access and use.
-
The legality of downloading music from YouTube varies by jurisdiction. Be sure to review and comply with your local copyright laws.
-
Be respectful of the rights of content creators and use this tool responsibly.
This project is licensed under the MIT License