Updated 07272022-091431
./webarchiver -url https://www.google.com -output google.webarchive
$./webarchiver
webarchiver 0.9
Usage: webarchiver -url URL [-js JAVASCRIPT] -output FILE
Example: webarchiver -url https://www.google.com -output google.webarchive
-urlhttp:// or path to local file
-js Custom JavaScript to execute after loading the page
-output File to write the webarchive to.
Do not forget the ‘http://’ if you want to archive a webpage. If no ‘http://’ is present then webarchiver attempts to archive a local file.
The easiest way to install webarchiver is by using HomeBrew or MacPorts.
$ brew install webarchiver
$ sudo port install webarchiver
Version 0.10 : Added the ability to execute custom javascript on page load. Thanks Viktor Szakats
Version 0.9 : Removed man page template. Updated Version number in code. Thanks Kurt Hindenburg
Version 0.8 : Matias Piipari fixed error codes.
Version 0.7 :
Version 0.6 : Cleaned up Github release.
Version 0.5 : More robust KBWebArchiver (Keith Blount and Jan Weiß).
Version 0.4 : Code maintenance and cleanup (Jan Weiß).
Version 0.3 : Changed URL and sorted out source for git.
Version 0.2 : John Winter fixed page loading issue.
Version 0.1 : Initial release.