An open API service indexing awesome lists of open source software.

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.

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
```
image