Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Playlist Downloader

Description

This simple Python script automates downloading songs from Spotify playlists using the spotdl library.

Prerequisites

Setup

  1. Install the spotdl library:

    pip install spotdl
  2. Input links to the 'links.txt' file: Place the links to Spotify songs/albums/playlists in this file, one link per line.

Usage

Run the script from your terminal:

python main.py

If prompted

FFmpeg is already installed. Do you want to overwrite it? (y/N):
  1. Type y and press Enter to download the latest version of FFmpeg.

  2. Type N and press Enter to use the existing FFmpeg installation.

    If you get the following error:

    OSError: [WinError 193] %1 is not a valid Win32 application

    Go back to option 1 and overwrite the existing FFmpeg installation.

Explanation

The script does the following:

  • Imports the os module: Used for interacting with the operating system (changing directories, running commands).
  • Downloads ffmpeg (if not present): Ensures that spotdl has its necessary dependency.
  • Reads the links.txt file: Iterates through each Spotify playlist link.
  • Downloads songs using spotdl: Uses the spotdl library to download the tracks from each playlist.

About

spotify bulk song downloader

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages