Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Script to download music

Project description

Requirements:

HomeBrew: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

FFMPEG: audio converter, to convert between different audio formats
brew install ffmpeg

Pip: comes with homebrewed python, use 'homebrew install pip' if using default python
youtube-dl
BeautifulSoup4
spotipy
NOTE: if sudo needed to pip install packages its because default os x python being used. To avoid this, brew install python alongside it, and add /usr/local/bin to the beginning of paths file (/etc/paths)

Finally:
pip install grattify


Quick Start:
grattify
Shows you list of possible commands

grattify -spotify mySpotifyUsername
STOPPED WORKING FUCK
Brings you to the spotify login page, then downloads your spotify playlists

grattify -song "the beatles" "come together"
Download a single song by providing the artist and song name

grattify -album "the beatles" "abbey road"
Download a whole album by providing the artist and album name

grattify -top 18 "the beatles"'
Download the top N songs by an artist by providing the number N and the artist

grattify -file "songList.txt"'
Download songs listed on a text file. The file can contain 3 types of lines:
artist - song (must be hyphen separated, shouldnt need quotes around artist or song)
album: album - artist
top 16: artist

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
grattify-0.2.2.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None Oct 22, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page