Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I save a "complete" HTML file as single file?

Are there any utilities or web browsers that can save a file and referenced resources as a single HTML file?

With most web browsers / wget there's the option to download required CSS and images as seperate files. Is there a way to automatically inline the CSS and images?

like image 465
AnnanFay Avatar asked Apr 28 '11 20:04

AnnanFay


1 Answers

I have made a python script for this. Up to now, it covers my own needs perfectly. Hopes to be useful.

https://github.com/zTrix/webpage2html

like image 55
zTrix Avatar answered Oct 22 '22 08:10

zTrix