title: Cheerio selector after page loaded
body: <p>I want to <strong>scrape</strong> a url value of iframe in this website: <a href="https://lk21online.digital/nonton-profile-2021-subtitle-indonesia/" rel="nofollow noreferrer">https://lk21online.digital/nonton-profile-2021-subtitle-indonesia/</a><br />
  When i search iframe from view page source its not found, i think iframe is loaded after page loaded by javascript<br/>
  Or my selector is wrong?<br/>
  Please somebody help me to check my selector or what i need to do for my code<br />
  Sorry for my poor english...</p>
  <p>There is my code:</p>
  <pre><code>async function getDetail(res, url) {
      try {
          const html = await scraping(res, url)
          const $ = cheerio.load(html)
          const article = $('#site-container #content .gmr-maincontent #primary #main .gmr-box-content #muvipro_player_content_id #player1-tab-content')
          let result = []
  
          setTimeout(() =&gt; {
              article.each(function () {
                  const title = $(this).find('.item-article h2').text()
                  const watch = $(this).find('iframe').attr('src')
  
                  result.push({
                      title,
                      watch,
                  })
  
              })
              res.json({ result })
          }, 5000)
  
  
      }
      catch (err) {
          console.log(err)
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/JBZqn.jpg" rel="nofollow noreferrer">this is video iframe</a></p>