(Oct-21-2016, 10:00 PM)Ofnuts Wrote: I would a a simple regex to get the successive scripts:I understand, but,
'<script type="text/javascript">(.*?)</script>'Then identify the right script (starts with "window._sharedData = "), load the json using json.loads(), and then use regular json data access to find what I need in that data structure.
'<script type="text/javascript">(.*?)</script>'
is a regular expression in javascript?