title: extract links (URLs), with nokogiri in ruby, from a href html tags?
body: <p>I want to extract from a webpage all URLs how can I do that with nokogiri?</p>
  
  <p>example:</p>
  
  <pre>
  &lt;div class="heat"&gt;
     &lt;a href='http://example.org/site/1/'&gt;site 1&lt;/a&gt;
     &lt;a href='http://example.org/site/2/'&gt;site 2&lt;/a&gt;
     &lt;a href='http://example.org/site/3/'&gt;site 3&lt;/a&gt;
  &lt;/diV>
  </pre>
  
  <p>result should be an list:</p>
  
  <p><pre><code>l = ['<a href="http://example.org/site/1/" rel="noreferrer">http://example.org/site/1/</a>', '<a href="http://example.org/site/2/" rel="noreferrer">http://example.org/site/2/</a>', '<a href="http://example.org/site/3/" rel="noreferrer">http://example.org/site/3/</a>'</pre></code>  </p>