I am using a Javascript step on Zapier to scrape html from a URL with the following:
fetch('http://printatestpage.com') //example url
  .then(function(res) {
    return res.text();
  })
  .then(function(body) {
    var output = {id: 1234, rawHTML: body};
    callback(null, output);
  })
  .catch(callback);
This works great, however I do not need the full HTML body response.
Is it possible to only output a specific div? For instance in the above code say I only wanted the response to output html from class PrintButtons?
 
     
    