("script") // find script tags
.toArray() // convert cheerio list to array
.map(script => script.children[0]?.data) // map script tags to their inline code
("script") // find script tags
.toArray() // convert cheerio list to array
.map(script => script.children[0]?.data) // map script tags to their inline code