Lurker News

Comments (209) 36 threads

Earlier comments
dfee1 reply#
If the output were a tar file, couldn’t we also say it was saving web pages as a single file? Wouldn’t that also be easier?
flatroze#
I think there's an issue with opening a tar file, e.g. if sent to someone who needs to view the document but isn't techy.

It seems to me that having one file that any browser can easily open (and not require Internet connection to view) is a big advantage over having a directory with assets alongside the .html file. It may be one of those things that make things easier yet nobody really complains about how things are usually done when the page gets saved. I hope more browsers add support for saving pages as MHTML in the nearest future so that we wouldn't need tools like this one.

ahub1 reply#
I noticed there is a `-j` argument to remove javascript. A `-i` argument for removing images would be great too.
flatroze#
It is done, option -i in the latest version (2.0.3) now replaces all src="..." attributes with src="" within IMG tags.
ur-whale1 reply#
Does not compile with some byzantine message about let in const funcs being unstable.
flatroze1 reply#
Could you please open issue on github providing the output that you get in the terminal?
ur-whale1 reply#
I have closed my github account since the takeover occured.
dspillett#
The important part of what he said was "providing the output that you get in the terminal". Simply stating "I got an error" and expecting the developer(s) to use clairvoyance to glean further detail is far from a helpful way to report a problem. Perhaps dropping the details in a pastebin site and linking to that would be a possible alternative? Or just including the error message here if it is short enough, though HN shouldn't really be used as a tech support channel.
sbmthakur1 reply#
Nice work! I am wondering if Puppeteer can also be used to accomplish the same thing.
flatroze#
It for sure would help with those SPA websites that get their DOM fully generated by JS. A web extension that saves the current DOM tree as HTML would perhaps do a better job, especially when it comes to resources which require some web-based authentication.

Load more comments