title: Ruby Open-URI with Dynamic Website
body: <p>I'm trying to use open-uri to get the html page for a website.  However, the problem is that the website needs a couple of seconds to load for it to properly have the correct code.  What I have right now is:</p>
  
  <pre><code>require 'open-uri'
  
  html = open('http://hiddencode.me/dribbbucket/embed.html?key=MY_API_KEY&amp;bucket=56024-Glassboard&amp;delay=5000')
  response = html.read
  puts response
  </code></pre>
  
  <p>If I run this right now, I get:</p>
  
  <pre><code>&lt;div id="slam-dunk"&gt;
      &lt;div id="loading"&gt;Loading..&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>However, the site needs to properly load first before opening to get the correct response.  Any ideas how to do this in ruby?  I can also use a solution in another language, if ruby is not your expertise!</p>