Created
December 24, 2011 12:08
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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