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

web-scraping

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-scraping

Node Module for extracting information from websites.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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
}


Keywords

scraping nodejs web

FAQs

Package last updated on 01 Aug 2016

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