3 ms·
I'm a huge wget fan! It's the core tech inside my archiving tool: https://github.com/pirate/bookmark-archiver https://github.com/pirate/bookmark-archiver
by nikisweeting 9y ago
I'm a huge wget fan! It's the core tech inside my archiving tool: https://github.com/pirate/bookmark-archiver https://github.com/pirate/bookmark-archiver
- danso 9y agoVery nice. I've been using wget by itself to archive various government pages, but that approach is reaching its end-life with JS-heavy sites becoming more prevalent. You use headless Chromium for screenshots; is it possible to use it to execute a page's JS and save the resulting HTML?
- nikisweeting 9y agoYes, headless chrome `--dump-dom` allows you to dump the <body> html after the page loads. I opted not to do that in bookmark-archiver since glueing it back to the <head> code to get a working static page was complicated and error prone.