You should try yourself,here some hints.
Then take out what you want.
Output:<script type="text/javascript">window._sharedData = [b]all data inside here in json[/b] </script>
Regexprint(re.findall(r'<script type="text/javascript">window._sharedData = (.*);</script>', data)[0])Convert to Json(becomes a Python dictionary) with build in Json parser in Python.
Then take out what you want.