Skip to content

brianokeefe/get-hyped

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

get-hyped

A Hype Machine song scraper written in Ruby.

Installation

Run bundle install in the get-hyped directory and you should be ready to rock!

Usage

ruby get-hyped.rb [OPTION]... [PLAYLIST]

    --dupes                      Download tracks even if they've already been downloaded
-a, --album [ALBUM]              Specify the album MP3 tag for tracks being downloaded
-d, --dir [DIRECTORY]            Specify the target directory
-l, --list [FILE]                Use a list of playlists

PLAYLIST can be any playlist or username from hypem.com. Examples include:

  • latest
  • latest/noremix
  • popular
  • popular/lastweek
  • chillwave
  • indie
  • brianok
  • brianok/3

Note how the last example included a "/3" to indicate page 3 of the playlist (higher numbered pages contain older songs). For more playlists, you can take a look at the top navigation bar on hypem.com. With --list, multiple playlists can be provided via a text file. The text file should have one playlist per line.

Once invoked, the script will attempt to download all of the MP3 files from the specified playlist into the specified target directory. A list of downloaded tracks will be maintained in tracks.txt; a track that has already been downloaded will not be downloaded again unless the --dupes argument is supplied.

TODO

  • Growl/email notifications
  • Logging
  • Adjustable timeout values
  • Take page number as an argument?
  • Optional sleep interval between downloads?

About

A Hype Machine song scraper written in Ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages