Skip to content

Instantly share code, notes, and snippets.

@gfodor
Created October 9, 2013 18:55
Show Gist options
  • Save gfodor/6906273 to your computer and use it in GitHub Desktop.
Save gfodor/6906273 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require "json"
url = "http://www.letsrevolutionizetesting.com/challenge.json?id=572744636"
loop do
json = `curl #{url}`
json = JSON.parse(json)
puts json.inspect
url = json["follow"].gsub("challenge", "challenge.json")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment