0.1.0 • Published 5 years ago

webpage-capture-cli v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

webpage-capture-cli

Capture the web in many ways from the command line

NPM version

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