Git Product home page Git Product logo

spotify_playlist_downloader's Introduction

Spotify Playlist Downloader

This is a simple script to download all the songs in a Spotify playlist. It uses the Spotify API to get the songs and the spotifymate to download the songs.

Requirements

  • Python 3
  • Spotify API Client ID and Client Secret
    • You can get these by creating an app on the Spotify Developer Dashboard
    • Make sure to add http://localhost:8888/callback to the Redirect URIs

Installation

  • Clone the repository
  • Run python -m venv env
  • Run env\Scripts\activate.bat (Windows) or source env/bin/activate (Linux)
  • Run pip install -r requirements.txt
  • Open spotify.py in a text editor, and add your Client ID and Client Secret to the client_id and client_secret variables on lines 5 and 6
  • Run python spotify.py
  • You will be asked to enter the URL of the playlist you want to download
  • Enter the URL and press enter
  • You will be asked to login to your Spotify account first time you run the script
  • After a successful login, the songs will be downloaded to the playlist_name directory
  • You can see the progress of the download in the terminal

General Points

  • The script will download the songs at bitrate 128kbps.
  • The order of the songs in the downloaded playlist may not be the same as the order in the playlist.
  • It may happen that not all the songs are downloaded. This is because some songs are not available on Spotify. The script will still continue to download the songs that are available. If you are lucky, you will get all the songs in the playlistπŸ˜….

Happy Downloading!πŸŽ‰

spotify_playlist_downloader's People

Contributors

anurag-ravi avatar gauravkumar5089 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.