Skip to content

Instantly share code, notes, and snippets.

@tempire
Forked from jadeallenx/gist:3694498
Created September 11, 2012 06:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tempire/3696313 to your computer and use it in GitHub Desktop.
Save tempire/3696313 to your computer and use it in GitHub Desktop.
tunes.io downloader oneliner
perl -MTime::Piece -Mojo -E 'mkdir $dir=$ENV{HOME}."/Dropbox/tunes.io/".localtime->ymd; say $_->text and g($_->attrs("href"))->content->asset->move_to("$dir/${\$_->text}.mp3") for g("tunes.io")->dom("ul a")->each'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment