Simple web crawler in Ruby