title: Cheerio how to ignore elements of a certain tag
body: <p>I am scraping the body of the webpage:</p>
  
  <pre><code>axios.get(url)
  .then(function(response){
          var $ = cheerio.load(response.data);
          var body = $('body').text();
      });
  </code></pre>
  
  <p>The problem is, I want to exclude contents from the <code>&lt;footer&gt;</code> tag. How do I do that?</p>