I successfully managed to scrap a dynamic.js file I was looking for because it contains a JSON variable I want to extract. Within the ChromeDev source tab, I was able to identify the file containing the JSON variable, however, I am not able to understand which formatting it is and how to parse it.
Here's what it looks like:
app = {};app["last_change"] = "11491620393";app["last_change_as_of"] = 1668773511284;app["generation_fiber_id"] = "1668773511072x153651415292286300";app["_id"] = "prellomaster1028";app["app_version"] = "live";app["_index"] = {};app["_index"]["id_to_path"] = {};app["_index"]["id_to_path"]["bTHlK"] = "%ed.bTHli.%el.cmQru";
I tried importing this variable "app" on different JSON parser and tweaking a few formatting settings but none of them worked.
Any hints? Thanks
Via Active questions tagged javascript - Stack Overflow https://ift.tt/ADiX0Ms
Comments
Post a Comment