title: NOKOGIRI - Get all the elements that contain a dollar sign
body: <p>Im trying to get the price generically from all the shopping sites</p>
  
  <p>What i tried so far :</p>
  
  <pre><code>            price = doc.xpath('//span[contains(text(), "$")]').try(:first).try(:content)
  
              if (!price)
                  price = doc.xpath('//div[contains(text(), "$")]').try(:first).try(:content)
              end
  </code></pre>
  
  <p>Example of the html i tried :
  <a href="https://jet.com/product/adidas-Real-Madrid-Ball-15-5/a08713c229924ceca7171850680d3e32" rel="nofollow">https://jet.com/product/adidas-Real-Madrid-Ball-15-5/a08713c229924ceca7171850680d3e32</a> (The HTML of this url)</p>
  
  <p>this is not working so well, what am i doing wrong?
  Thanks you all</p>