title: npm osmosis. How i can get attr of element?
body: <p><strong>part HTML code of page</strong></p>
  
  <pre><code>&lt;div name="price" class="detail-price-test"&gt;
    &lt;meta itemprop="price" content="3303"&gt;
    &lt;meta itemprop="priceCurrency" content="test"&gt;
    &lt;span id="price_label"&gt;3 303&lt;/span&gt;&lt;span class="detail-price-test-sign" id="price_label_sign"&gt; eur&lt;/span&gt;
    &lt;script&gt;
      if (price_json.price != '0') {
      var price_container = document.getElementById('price_container'),
      price_cheaper_selector = 'detail-price-cheaper';
      document.getElementById('price_label').innerHTML = price_json.price_formatted;
      document.getElementById('price_label_sign').innerHTML = "&amp;thinsp;eur";
      if (parseFloat(price_json.old_price) &gt;
      parseFloat(price_json.price) &amp;&amp;
      price_container &amp;&amp;
      !price_container.hasClass(price_cheaper_selector)
      ) {
      price_container.addClass(price_cheaper_selector);
      }
      }
    &lt;/script&gt;
    &lt;link itemprop="availability" href="http://schema.org/InStock"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>1) First question:</strong> How i can extract attr content with value 3303 from meta itemprop="price" ?
  OR with osmosis, it is impossible to make?</p>
  
  <p><strong>2) Second question:</strong> Why i cant get value 3 303 in this <code>&lt;span id="price_label"&gt;3 303&lt;/span&gt;</code></p>
  
  <pre><code>osmosis
  .get('myURL.com')
  .find('div.detail-price-test span#price_label') //or div.detail-price-test span[id=price_label]
  .set('test')
  .data(console.log);
  </code></pre>
  
  <p>Result in cosole: test: ''</p>
  
  <p>Maybe the problem in <code>JavaScript</code> script and osmosis can't work with this?</p>