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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i phantom-fetch-cli

    Weekly Downloads

    0

    Version

    0.0.2

    License

    ISC

    Last publish

    Collaborators

    • junmer