Skip to content

Instantly share code, notes, and snippets.

@markglenfletcher
Created August 12, 2015 09:01
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 markglenfletcher/2844f07545c67de5a73d to your computer and use it in GitHub Desktop.
Save markglenfletcher/2844f07545c67de5a73d to your computer and use it in GitHub Desktop.
Free Fringe Download
ress = (1..100).map do |i|
uri = URI("http://freefringe.org.uk/programme/?action=tribe_photo&tribe_paged=#{i}&ical=1")
res = Net::HTTP.get_response(uri)
if res.is_a?(Net::HTTPSuccess)
res.body
else
nil
end
end; nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment