I am using the cheerio lib and am trying to get this script field - script type="application/json"
But for some reason it can not find these script tags. What is wrong? How do I fix?
var $ = require('cheerio')
var parsedHTML = $.load(html)
console.log( parsedHTML('script').get().length ); // this is 0