title: Getting webpage content with Ruby -- I'm having troubles
body: <p>I want to get the content off this* page. Everything I've looked up gives the solution of parsing CSS elements; but, that page has none.</p>
  
  <p>Here's the only code that I found that looked like it should work:</p>
  
  <pre><code>file = File.open('http://hiscore.runescape.com/index_lite.ws?player=zezima', "r")
  contents = file.read
  puts contents
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>tracker.rb:1:in 'initialize': Invalid argument - http://hiscore.runescape.com/index_lite.ws?player=zezima (Errno::EINVAL)
    from tracker.rb:1:in 'open'
    from tracker.rb:1
  </code></pre>
  
  <p>*<code>http://hiscore.runescape.com/index_lite.ws?player=zezima</code> </p>
  
  <p>If you try to format this as a link in the post it doesn't recognize the underscore (_) in the URL for some reason.</p>