New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

html-grabber

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-grabber

HTML Grabber - is a console utility to grab html content from JavaScript based sites (single page application)

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

HTML Grabber

HTML Grabber - is a PhantomJS based console utility to grab HTML content from JavaScript based sites (single page application). The only use case is to serve gotten HTML to old Web crawlers who can't work with the JavaScript-based site (Yandex, Yahoo, Bing, etc).

Installation

To install HTML Grabber as global package run following command:

Yarn

yarn global add html-grabber

npm

npm install html-grabber -g

Note: It is assumed that PhantomJS already installed.

Usage

html-grabber [options]

  Options:

    -s, --sitemap [value]  Path to sitemap file, if specified grabber will grab all urls from the specified sitemap.
    -d, --domain [value]   Domain to grab, works in combination with paths option.
    -p, --phantom [value]  Path to phantom executable.
    -L, --log [value]      Path to log file, pass "none" to disable.
    -l, --paths <items>    List of paths specified with semicolon delimeter, works in combination with domain option.
    -o, --output [value]   Output directory
    -h, --help             output usage information    

Examples

This pages provide information for testing grabber functionality.

License

HTML Grabber released with MIT License

FAQs

Package last updated on 09 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts