Mirroring a copy of a single webpage for offline viewing using wget is decent but can be rough sometimes. Any other CLI options?

https://lemmy.sdf.org/post/41003129

Mirroring a copy of a single webpage for offline viewing using wget is decent but can be rough sometimes. Any other CLI options? - SDF Chatter

This is one way to save a webpage from the commandline, which I prefer over launching a GUI browser: wget -E -H -k -K -p $URL Sometimes the result renders great in FF and sometimes not (e.g. ifixit.com [http://ifixit.com] has some layout problems). But even when it works well, I always have to dig around the tree of saved files for the HTML page that renders it all. There is no index.html in the root directory of where things were saved. Is there any other option? I’m aware of two options for saving as PDF (wkhtmltopdf and weasyprint), but that’s a separate discussion. I just wonder if there are other ways to save the HTML in the most reproduceable way… in a way that properly reconstitutes the page in a web browser.

wkhtmltopdf is no longer maintained. Is there a successor?

https://lemmy.sdf.org/post/40711783

wkhtmltopdf is no longer maintained. Is there a successor? - SDF Chatter

The link shows the dying status of the wkhtmltopdf project. Is that the only tool of this sort? I posted [https://lemmy.sdf.org/post/24921531] about this before in [email protected] [/c/[email protected]]. Looks bleak.

HTTrack Website Copier - Free Software Offline Browser (GNU GPL)

HTTrack is a free (GPL, libre/free software) and easy-to-use offline browser utility. It allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer. HTTrack arranges the original site's relative link-structure. Simply open a page of the 'mirrored' website in your browser, and you can browse the site from link to link, as if you were viewing it online. HTTrack can also update an existing mirrored site, and resume interrupted downloads. HTTrack is fully configurable, and has an integrated help system. WinHTTrack is the Windows 2000/XP/Vista/Seven/8 release of HTTrack, and WebHTTrack the Linux/Unix/BSD release.