title: How to collect only the second text value of data returned from an XPATH using CheerioGS?
body: <p>The sitemap (<a href="https://futebolnatv.com.br/jogos-hoje/" rel="nofollow noreferrer">https://futebolnatv.com.br/jogos-hoje/</a>) looks like this:</p>
  <pre><code>&lt;div class=&quot;col-md-01&quot;&gt;
  &lt;div class=&quot;col-md-12&quot;&gt;
       &lt;span class=&quot;label label-default&quot;&gt;0&lt;/span&gt;
       &lt;img src=&quot;https://futebolnatv.com.br/static/times/ba92f23d6f11341548d808a0ec309acc.png&quot; width=&quot;25&quot; height=&quot;25&quot;&gt;
       &quot;Holstein Kiel&quot;
  &lt;/div&gt;
  </code></pre>
  <p>Using <code>CheerioGS</code>, to collect the text value I use this path:</p>
  <pre><code>    let elements_2 = $('tbody &gt; tr &gt; td &gt; div:nth-child(2)')
      elements_2.each((index, value) =&gt; {
        sheet.getRange(index+1, 3).setValue($(value).text().trim())
      })
  </code></pre>
  <p>But instead of just the name <code>Holstein Kiel</code>, it's coming with this number that's inserted into <code>&lt;span&gt;</code> that I don't want:</p>
  <pre><code>0
  Holstein Kiel
  </code></pre>
  <p>The expected return is:</p>
  <pre><code>Holstein Kiel
  </code></pre>
  <p>What should I change to resolve this issue?</p>
  <p>CheerioGS project:<br />
  <a href="https://github.com/tani/cheeriogs" rel="nofollow noreferrer">https://github.com/tani/cheeriogs</a></p>