Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to save HTML pages as one file?

I want to be able to save / archive HTML pages as one file (without those pesky external folders).

I want the resulting file to contain all styles, images, and links (videos and Flash would be nice, too, but not as crucial).

I want the resulting file to be searchable, and editable.

Microsoft's MHT is one of such tools, but unfortunately, it's not searchable under Linux. MHT is good, but I don't want to be locked under one operating system or one company. What would be a good alternative – or perhaps there's some entirely different solution I wasn't thinking about?

like image 380
Dimitri Vorontzov Avatar asked Apr 23 '13 12:04

Dimitri Vorontzov


1 Answers

The SingleFile chrome extension is a good solution.

I have also written my own python tool to solve this problem which I would recommend giving a try: https://github.com/zTrix/webpage2html

like image 56
zTrix Avatar answered Sep 25 '22 17:09

zTrix