Skip to content

Instantly share code, notes, and snippets.

Created February 16, 2009 21:23
Show Gist options
  • Save anonymous/65378 to your computer and use it in GitHub Desktop.
Save anonymous/65378 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby
require 'rubygems'
require 'net/http'
require 'rio'
body = Net::HTTP.get 'minneapolisfuckingrocks.blogspot.com', '/2009/01/diplo-remix-collection.html'
links = body.scan(/http:\/\/[a-zA-Z0-9_\.\/]*mp3{1}/)
links.each {|link| rio(link) > rio(File.basename(link))}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment