Command line web browser written in Ruby - using nokogiri