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

scrapper

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

scrapper

Web page scrapper with server-side jQuery support

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

scrapper

NodeJS HTML page scrapper with jQuery-like selectors on server side

Installation

npm install scrapper

Usage


scrapper.get('http://yandex.ru/yandsearch', function($){
    console.log($('body').text())
}, {text: 'NodeJS!'}, {'User-Agent': 'Googlebot'});

scrapper.post('http://google.com', function($){
    console.log($('body').text())
}, {q: 'NodeJS!'}, {'User-Agent': 'Yandex Bot'});

scrapper.html('<ul><li>NodeJS</li></ul>', function($){
    console.log($('li').text())
});

Keywords

html

FAQs

Package last updated on 15 Apr 2012

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