title: How can I scrape pages with dynamic content using node.js?
body: <p>I am trying to scrape a <a href="http://www.bdtong.co.kr/index.php?c_category=C02">website</a> but I don't get some of the elements, because these elements are dynamically created.</p>
  
  <p>I use the cheerio in node.js and My code is below.</p>
  
  <pre><code>var request = require('request');
  var cheerio = require('cheerio');
  var url = "http://www.bdtong.co.kr/index.php?c_category=C02";
  
  request(url, function (err, res, html) {
      var $ = cheerio.load(html);
      $('.listMain &gt; li').each(function () {
          console.log($(this).find('a').attr('href'));
      });
  });
  </code></pre>
  
  <p>This code returns empty response, because when the page is loaded, the <code>&lt;ul id="store_list" class="listMain"&gt;</code> is empty. </p>
  
  <p>The content has not been appended yet. </p>
  
  <p>How can I get these elements using node.js? How can I scrape pages with dynamic content?</p>