Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

phantom-fetch-cli

0.0.2 • Public • Published

phantom-fetch-cli Build Status

fetch webpage content after phantom rendered

Install

First, make sure PhantomJS is installed. This module expects the phantomjs binary to be in PATH somewhere. In other words, type this:

$ phantomjs

If that works, so will phantomjs-node and phantom-fetch-cli. It's only been tested with PhantomJS 1.3, and almost certainly doesn't work with anything older.

Install phantom-fetch-cli like this:

$ npm install -g phantom-fetch-cli

Usage

$ phantom-fetch --help
 
  Usage
      $ phantom-fetch <url>  
 
    Example
      $ phantom-fetch http://www.phantomjs.org/
      $ phantom-fetch http://www.phantomjs.org/ > phantomjs.txt  
 
    Options
      -e, --evaluate                       evaluate function

NPM

install

npm i phantom-fetch-cli

Downloadsweekly downloads

2

version

0.0.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar