Closed GuyKh closed 9 months ago
Further investigation leads me to understand that the issue is with matching ;
symbol -- as the text in the JSON is:
... Bhreitheamhnaigh</strong>; see <a href=\\"/name-origin?surname=breheny\\">Breheny</a>. Americanized form (translation into English....
I have issues with a profile (this):
When openning debugging tools in chrome - I see that the following:
and indeed - this text is 4384 chars long and is a faulty json.
But when manually trying to fetch the
window.__PRELOADED_STATE
- it contains a JSON object in as long as 10792 chars long (which is valid).Perhaps regex usage is not the way to work here.