phantom-fetch-cli

v0.0.2
fetch webpage content after phantom rendered
fetch phantom cli curl spider phantomjs

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

npm i phantom-fetch-cli

Metadata

  • ISC
  • Whatever
  • junmer
  • released 2/13/2015

Downloads

Maintainers