title: Ruby visit web page
body: <p>I need a script visiting a webpage automatically. I created this:</p>
  
  <pre><code>20.times do
    open(websiteURL) do |file|
      file.each{|line| puts line}
    end
  
    puts '--------------------'
  end
  </code></pre>
  
  <p>Although it receives the actual website html code it doesn't seem to really visit the page. I tested it on a website with a working guest counter and it didn't change.</p>
  
  <p>Is there an easy way to create a wabsite auto visiting script in ruby?</p>
  
  <p>Bye</p>