webpage-capture-cli
v0.1.0
Published
Capture the web in many ways from the command line
Downloads
3
Maintainers
Readme
webpage-capture-cli
Capture the web in many ways from the command line
This package provide the command line utility for webpage-capture module.
Installation
Install it globally with your favourite package manager:
npm install -g webpage-capture-cli
Now you have the webcapture command ready on your machine, you can start playing around with the options using the built-in help typing: --help
.
Usage
For the full usage message and the list of all the available options type --help
, below are shown some of the available options, the objective is to let you capture webpages or webpage sections with custom logic in seconds.
# Capture a website to file
$ webcapture "http://google.com"
# Capture multiple websites to file
$ webcapture "http://google.com" "http://github.com"
# Capture a website to file in pdf format
$ webcapture -f pdf "http://google.com"
# Capture files to a custom output directory
$ webcapture -o output "http://google.com"
License
MIT © Filippo Conti