Silent-Crafter / spotify-downloader

downloads songs from spotify through youtube along with adding meta

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spotify downloader

downloads songs from spotify by searching them on youtube along with adding meta

NOTE: If this projects seems ded ie. no commits for months, years, it is not. it's just working without any issues and you should probably ignore the to do list below

Setup

install ffmpeg if you are on linux

sudo apt install ffmpeg

then run

git clone https://https://github.com/Silent-Crafter/spotify-downloader
cd spotify-downloader
pip install .

if you are on windows, after extracting the release to a permanent convinient location eg. C:\ , and add the location of extracted zip file to path.

Usage

run spotify_downloader [url] for linux windows users need to add .exe after spotify-downloader. i.e. spotify_downloader.exe [url]. input the asked values for path, specify the path for the directory in this fashion:

C:\Music\Spotify
OR
/home/username/Music (for linux) (DONT USE ~ TO INDICATE HOME DIR)

NOTE : Do not add a slash at the end of the directory as shown in the example

you can also use spotify_downloader as a python module by importing it into your scripts. (Docstrings coming soon for help)

modes

the program will ask you for mode/method.
ITS FINE IF YOU JUST LEAVE IT BLANK. THE DEFAULT MODE IS 't'

  • n : normal mode/method. searches song normally.

  • t : topic mode/method. Searches for the music autogenerated by youtube. these don't have a video, only audio that too of the song only. DEFAULT MODE

  • a : audio mode/method. add (Official Audio) to further enhance the search term for youtube. serves the same purpose as t mode.

Recommended is the topic mode. it works for must of the time. but in case if it dosen't use n or a respectively.

TODO

  • Doctrings
  • parallel downloading

About

downloads songs from spotify through youtube along with adding meta

License:MIT License


Languages

Language:Python 100.0%