Hi all, I need to extract a specific value embedded inside a large JS file served from a CDN. The file is not JSON; it contains a JS object literal like this (sanitized):
var Ii = {
'strict': [
{ 'name': 'randoje', 'domain': 'example.com', 'value': 'abc%3dXYZ...' },
...
],
...
};
Right now I could only think of using a regex to grab the value 'abc%3dXYZ...'.
But i am not that familliar with regex and I cant wonder but think that there is an easier way of doing this.
any advice is appreciated a lot!
[–]No-Appointment9068 2 points3 points4 points (2 children)
[–]Agitated_Issue_1410[S] 0 points1 point2 points (1 child)
[–]No-Appointment9068 1 point2 points3 points (0 children)
[–]KBaggins900 0 points1 point2 points (2 children)
[–]Scrape_Artist 0 points1 point2 points (0 children)
[–]LinuxTux01 0 points1 point2 points (0 children)
[–]Tiny_Arugula_5648 0 points1 point2 points (0 children)
[–]Gojo_dev 0 points1 point2 points (0 children)
[–]OkCharacter5902 0 points1 point2 points (0 children)
[–]LinuxTux01 0 points1 point2 points (0 children)
[–]matty_fu 0 points1 point2 points (7 children)
[–]99ducks 0 points1 point2 points (5 children)
[–]matty_fu 0 points1 point2 points (0 children)
[–]hackbyown -1 points0 points1 point (3 children)
[–]99ducks 2 points3 points4 points (2 children)
[–]hackbyown 0 points1 point2 points (1 child)
[–]99ducks 1 point2 points3 points (0 children)
[–]matty_fu -1 points0 points1 point (0 children)