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

https://github.com/kernferm/spotify-mp3


https://github.com/kernferm/spotify-mp3

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Bubbles The Dev Spotify to MP3 Downloader

A Python script that allows you to download songs and playlists from Spotify and convert them to MP3 format at 192kbps.

## Features

- Download entire Spotify playlists or individual songs.
- Convert downloaded tracks to MP3 format at 192kbps.
- Automatically embeds metadata from Spotify into MP3 files.

## Requirements

- **spotDL**: A command-line tool that downloads music from Spotify using YouTube as the audio source.
- **FFmpeg**: Required for audio processing and conversion.

## Discord

If you have any issues, join our [Discord](https://www.discord.fnbubbles420.org/invite) - Fnbubbles420 Org Community.
- Head to the channel `free-music`
- Ping `Bubbles` for support.

## Installation

### Step 1: Install Python Packages
- make sure to have pet python install
- [Python 3.11.6](https://github.com/KernFerm/Py3.11.6installer)

Run the following command to install `spotDL`:
- open up `cmd.exe` or `powershell`

```
pip install spotdl
```

## Installation

### 2. Install ffmpeg

#### Option A: Install with `winget` (Recommended for Windows Users)

Run this command in **Command Prompt** or **PowerShell** as Administrator:

```
winget install --id Gyan.FFmpeg -e --source winget
```

Chocolatey is another package manager for Windows, similar to winget. You can use it to install FFmpeg and other software if winget is failing.

To install FFmpeg using Chocolatey, follow these steps:

Install Chocolatey if you haven't already:

Open an elevated Command Prompt (right-click on Command Prompt and select "Run as Administrator").
Run the following command to install Chocolatey:

```
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
```

After Chocolatey is installed, use the following command to install FFmpeg:

```
choco install ffmpeg
```

### Option B: Download and Manually Install

1. Download the latest `ffmpeg` build from [ffmpeg.org](https://ffmpeg.org/download.html) or [gyan.dev](https://www.gyan.dev/ffmpeg/builds/).
2. Extract the files and add the `bin` directory (e.g., `C:\ffmpeg\bin`) to your system PATH.

- Verify `ffmpeg` installation by running:

```
ffmpeg -version
```

## Usage

1. Run the script in a terminal:
```
python main.py
```
or
- Run the `launcher.bat` to run the `main.py` script to run the program.

Enter the Spotify track or playlist URL when prompted.
- copy and paste the entire `URL`

# Example
```
https://open.spotify.com/track/7Ie9W94M7OjPoZVV216Xus?flow_ctx=f6ca8cb4-011f-4577-aa68-11e6ee014b32%3A1731636904#login?flow_ctx=f6ca8cb4-011f-4577-aa68-11e6ee014b32%3A1731636904
```
- The downloaded and converted MP3 files will be saved in the current directory.

## Prompt:

```
Enter the Spotify track or playlist URL: [paste Spotify URL here]
```

## How To Use

![how-to-use](https://github.com/KernFerm/bubbles-the-dev-spotify-to-mp3/blob/main/how-to-use/screen_recording.gif)

## LICENSE

## ***This project is proprietary and all rights are reserved by the author.***
## ***Unauthorized copying, distribution, or modification of this project is strictly prohibited.***
## ***Unless You have written permission from the Developer or the FNBUBBLES420 ORG.***

## Disclaimer

### Downloading and converting Spotify content may violate Spotify's Terms of Service. Use this tool responsibly and only for content you have the right to download.