My company does this, without getting into too much detail we save the page source as it is and also open the page up in a headless chrome and take a screenshot. It sucks but there's not really a better way to get an accurate visual without just using a browser
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
When I archive pages/sites for personal reasons, I’ve typically used https://www.httrack.com/
I use that as well. Some websites don't work well with it and for that i use WebCopy. As for single page capture, i use Singlefile addon for Firefox. There's also another version which makes it compress to reduce the file's size by the same developer.
I have used changedetection.io for a while. It can parse the pages and do notifications, also launch a headless browser and do screenshots. And from what I see they also seem to have added a proper open-source license a while ago. (On the downside they also added a lot of AI stuff which wasn't there when I used it.) But I also had some minor hiccups. Not sure it's good enough for important legal stuff.