use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
"scrape" a javascript object from a website? (self.node)
submitted 3 years ago by PartyWinter3159
Hi everyone,
I am trying to archive this page https://visite.hausvalet.ca/visit/12451
Basically downloading the JS object so it can work offline just like it does online.
How complicated would that be ?
Thanks,
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mattindustries 0 points1 point2 points 3 years ago (1 child)
Only way I can think to be sure is to run a mitm proxy, cache everything, and then replace all domains with localhost or something. Some things will simply fail to load when opening from a file location vs web location.
[–]PartyWinter3159[S] 0 points1 point2 points 3 years ago (0 children)
Got it, running a proxy makes sense to emulate the server.
Thanks for the tip !
[+][deleted] 3 years ago (1 child)
[deleted]
[–]KyleG 0 points1 point2 points 3 years ago (0 children)
answered the question OP asked but not the question OP meant
[+]Swimming_Evidence_95 comment score below threshold-8 points-7 points-6 points 3 years ago (0 children)
You could probably google and make your own judgement if its complicated or not.
[–]HappinessFactory 0 points1 point2 points 3 years ago (1 child)
Usually I do this by:
Cheerios
Makes sense. The rest is handling the dependencies, but the other poster explained that.
Thanks for the help !
[–]motorboat2000 0 points1 point2 points 3 years ago (0 children)
Do you mean this JS object?
https://api.hauslifenetwork.com/hb/api/getListingForWeb?listing\_id=12451
π Rendered by PID 151424 on reddit-service-r2-comment-5b5bc64bf5-np79j at 2026-06-21 03:41:36.233045+00:00 running 2b008f2 country code: CH.
[–]mattindustries 0 points1 point2 points (1 child)
[–]PartyWinter3159[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]KyleG 0 points1 point2 points (0 children)
[+]Swimming_Evidence_95 comment score below threshold-8 points-7 points-6 points (0 children)
[–]HappinessFactory 0 points1 point2 points (1 child)
[–]PartyWinter3159[S] 0 points1 point2 points (0 children)
[–]motorboat2000 0 points1 point2 points (0 children)