title: Cheerio -Web Scraping - Not able to scrape innertext of a div
body: <p>I am using Cheerio and request for web scraping.
  Below is my code on running which it doesn't give any error but also it doesn't gives me the innerText of div with that class name.</p>
  
  <p>I am a beginner in this technology. So not able to figure out where i am missing something.</p>
  
  <pre><code>request(baseurl, function(err,resp,body) {
    if (!err &amp;&amp; resp.statusCode == 200) {     
      var $ = cheerio.load(body);
      $('div.class','#EIGTDNC-d-W EIGTDNC-d-Lb EIGTDNC-d-S EIGTDNC-d-mb EIGTDNC-d-bc').each(function() {
        temp = this.attr('innerText');
        console.log(temp);
      });
  
      // send the message back to user
    }
    else {
      console.log('error:', err); 
      console.log('statusCode:', resp &amp;&amp; resp.statusCode); 
    }
  });
  //dom closed
  </code></pre>