Simple web crawler implementation using Nokogiri