I am learning to use request and cheerio to parse a simple html file. However, in the page there is many script tag and inside them reside the actual data. For example like
<script> var data = {"name":"John","age":33} </script>
So naturally the thing that is interesting is the "data" variable. Is there a more natural way then doing regex to get that data?