GithubHelp home page GithubHelp logo

lbcmk / spotifyplaylistdownloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lotusdeath69/spotifyplaylistdownloader

0.0 0.0 0.0 12.78 MB

Download your Spotify Playlist

License: MIT License

Python 100.00%
downloader downloadermp3 python python3

spotifyplaylistdownloader's Introduction

spotifyPlaylistDownloader

Original code written by T. Hoang (found at https://github.com/LotusDeath69/spotifyPlaylistDownloader)

Disclaimers:

  • This code was written and ran in Windows 10; other OS compatibility is unknown.
  • This code was tested with Latin characters in mind. Although it should work with other writing systems, compatibility is not guaranteed.

Description:

Downloads a Spotify playlist

Prerequisite for v2:

Python (preferably 3.9 or above)
Run pip install -r requirements.txt in a terminal to install the package requirements.
chromedriver
ffmpeg
Spotify token
Spotify playlist id: (i.e. 0Hx4aQ2xTb4TKl5Z56DJh0)

How to Use:

Download chromedriver and ffmpeg and place the executables files in the same folder as scrapper.py.
Input Spotify API token, playlist id, and country market in the Variables Section.

SPOTIFY_PLAYLIST_ID = "Playlist ID"
SPOTIFY_API_KEY = "token"
SPOTIFY_MARKET_LOCATION = "CA"
(Click here or go to ID_INSTRUCTIONS.md for help on getting id's.)

Run the script by typing python scrapper.py in the terminal

Built Using:

  • Selenium (Automated Chromium Bot)
  • YT-DLP (Youtube Video Downloader)
  • Mutagen (ID3/Metadata Editor)
  • requests (Spotify API calls)
  • JSON (Storing API data with JSON)
  • IO Bytestream (For album covers)

Additions:

  • Playlist Persistance
    • JSON file to store playlist data
  • YT-DLP download
  • Add ID3 data to mp3 using mutagen
  • Stop YT-DLP from downloading files that are already downloaded
  • Add album cover to ID3 data
  • Equaliser for equal volume songs

Contributing

I will not be monitoring this repo, the easiest way to contribute would be to fork this repository.

License

Distributed under the MIT License. See LICENSE for more information.

spotifyplaylistdownloader's People

Contributors

lbcmk avatar lotusdeath69 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.