How do I parse JavaScript code within HTML source with Python, for example I want to extract the productList object
here is my source below;
<html>
<body>
<div id="content-wrapper" class="row-fluid clearfix" role="contentinfo">
<!-- html content -->
</div>
<script>
var productList = { "daaa" : "ddddd"};
</script>
</body>
</html>