web-scraping

1.0.0 • Public • Published

web-scraping

Node Module for extracting information from websites.

build status

Installation

This module is installed via npm:

$ npm install web-scraping

Example Usage

var Scraping = require('web-scraping');
var scraping = new Scraping({
    debug : true||false, // Turn on all console messages debug messages
    url   : ... , // The URL to Parse
    parser: function(){ ... }  // Function to parse the HTML of the page loaded in URL 
});
 
....
 
function foo(){
    //The Callback function, the parameter is the returned element from parser function
    var callback = function(content){
        console.log(content);
    }
 
    scraping.exec(callback) //Execute the parsing function over the URL provided
}
 
 

Readme

Keywords

Package Sidebar

Install

npm i web-scraping

Weekly Downloads

0

Version

1.0.0

License

BSD-3-Clause

Last publish

Collaborators

  • jmtt89