https://github.com/maxsafer/spotify2mp3
Download Spotify playlists as .mp3 from YouTube.
https://github.com/maxsafer/spotify2mp3
Last synced: 2 months ago
JSON representation
Download Spotify playlists as .mp3 from YouTube.
- Host: GitHub
- URL: https://github.com/maxsafer/spotify2mp3
- Owner: Maxsafer
- Created: 2023-10-06T20:28:33.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-05T08:12:58.000Z (almost 2 years ago)
- Last Synced: 2024-08-05T09:39:50.817Z (almost 2 years ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spotify2youtube-downloader
Download Spotify playlists as .mp3 from YouTube.
Dependencies
- - Python3: https://www.python.org/downloads
- - Ffmpeg: https://www.ffmpeg.org/download.html
- - A Spotify application token must be created and provided in order to run: https://developer.spotify.com/dashboard
pip dependencies
- - youtube-search
- - joblib
- - yt-dlp
- - requests
- - flask
------------------
1. Install Python dependencies
```
pip install -r requirements.txt
```
------------------
2. Configuration
Edit and set the Spotify token inside
```customSecrets.py```
------------------
3. How to run
3.1 CLI download songs or playlists
- Download Spotify playlists:
```
python main.py --playlist 2JOHUWecmpONy8NBQk7alx --folder ./songs/ --maxfilesize 10
```
- Download songs by name:
```
python main.py --songs "Daft Punk - One More Time, Radiohead - Creep" --folder ./songs/ --maxfilesize 10
```
------------------
3.2 How to run as a web UI
- Start flask app with any arguments you may need:
```
flask run
```