title: using cheerio to scrape the html can't retrieve the second consecutive element
body: <p>guys, i am using cheerio to scrape a html document which is shown as below, I need to find out the href of two  element in each article element.</p>
  
  <pre><code>&lt;article&gt;
    &lt;div class="row"&gt;
         &lt;div class="col-md-5 col-6"&gt;
            &lt;a  class="btn" href="https://xxxxxx.png"&gt;abc1&lt;/a&gt;
         &lt;/div&gt;
         &lt;div class="col-md-5 col-6"&gt;
            &lt;a class="btn"  href="https://xxxxx"&gt;abc2&lt;/a&gt;
         &lt;/div&gt;
    &lt;/div&gt;
  &lt;/article&gt;
  
  &lt;article&gt;
     ....
  &lt;/article&gt;
  
  ....
  </code></pre>
  
  <p>below is my script which use .btn to find each element and use nth-child to get the them by order, it can successfully get the href of the first  element, however it cannot get the value of second element. any idea how to solve the problem? </p>
  
  <pre><code>const $ = cheerio.load(html);
  $("article").each((i, element) =&gt; {
      let element1 = $(element).find(".btn:nth-child(1)").attr("href");
      let element2 = $(element).find(".btn:nth-child(2)").attr("href");
  
      console.log(element1,element2);
   });
  </code></pre>