Oct-22-2016, 01:04 AM
(Oct-22-2016, 12:56 AM)snippsat Wrote: You should try yourself,here some hints.
Regex
Output:<script type="text/javascript">window._sharedData = [b]all data inside here in json[/b] </script>
print(re.findall(r'<script type="text/javascript">window._sharedData = (.*);</script>', data)[0])Convert to Json with build in Json parser in Python.
Then take out what you want.
Thank you very much!.
When you have the solution I'll post here... :D