Skip to content

Instantly share code, notes, and snippets.

@elliotcm
Created December 24, 2011 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elliotcm/1517220 to your computer and use it in GitHub Desktop.
Save elliotcm/1517220 to your computer and use it in GitHub Desktop.
A script for archiving all of The Bugle from the Times's hosting.
require 'open-uri'
open('http://podcast.timesonline.co.uk/rss/thebuglemp3.rss').each_line do |line|
next unless line =~ /(http.*?\.mp3)/
system "wget #{$1}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment