Skip to content

Tool to easily download single songs, or whole playlists from Spotify, Youtube, or custom lists. (Youtube Downloader)

Notifications You must be signed in to change notification settings

Olivrv/MusicDownload-Inator

Repository files navigation

MusicDownload-Inator (Unstable due to pytube's unstability)

ImagePreview

Download music in various ways:

  • Single mode: input a single music name to be downloaded
  • List mode: Input the path of a list written as such :
song1 author1
song2 author2
song3
  • YouTube Playlist mode: input a playlist link (playlist must be public or unlisted) for all its songs to be downloaded
  • Spotify Playlist mode: input a playlist link (requires a Spotify developer account and credentials) for all its songs to be downloaded

Custom settings:

There are a few settings you can tweak to your liking:

  • suffix: The program will search YouTube with your input (single mode or list mode), and append to that search this suffix. (Default = "audio")
  • download_location: The path where all the songs will be downloaded (all modes). (Default = "Downloads")
  • quick_mode: A quicker mode to download, but metadata will be lost and the file might be unreadable by some programs, such as Itunes (Default = False)

Disclaimer: All files are downloaded from YouTube. The Spotify Playlist mode will fetch the songs from Spotify to download them from YouTube. Nothing is downloaded from Spotify.

Setting up Spotify:

Since v0.02, you don't have to set up Spotify, unless you want to contribute.

  1. Set up your developer account here: Spotify Developer Dashboard
  2. Create an app by clicking on the Create an app button
  3. Open your app, and copy and paste your ClientID and your Client SECRET (top left)
  4. Create a config.py file in the project directory as such:
CLIENT_ID = "XXXXXXXXXXXXXXXXXXXXXXX"
CLIENT_SECRET = "XXXXXXXXXXXXXXXXXXXXX"

and fill in your credentials. You can now use the Spotify Playlist mode !

Thank you for using MusicDownload-Inator !