Skip to main content

Script to download music

Project description

#<center> Grattify </center> ##Requirements:

  • HomeBrew (OS X Package Manager):
  • 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)
    • 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)

  • And Grattify!:
    • pip install grattify

##Basic Commands:

  • grattify
    • Shows you list of possible commands

  • grattify -spotify mySpotifyUsername
    • Brings you to the spotify login page, then downloads your spotify playlists

    • If you only want to download certain playlists, specify them after your username: ‘grattify -spotify myUsername “my playlist 1” “my playlist 2” … ‘

  • 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.

Source Distribution

grattify-0.2.9.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file grattify-0.2.9.tar.gz.

File metadata

  • Download URL: grattify-0.2.9.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grattify-0.2.9.tar.gz
Algorithm Hash digest
SHA256 f5bdb988506ab1acda2cfc3ddfc34e4b567e3b145f96f26fd43b60f9b70405a5
MD5 1eead364e743111e20b4be5382002fe7
BLAKE2b-256 9d1c4b7f6f4e0aa615736b003d9abce55fcf4fdd32f265884775b767b02334bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page