Socket
Book a DemoInstallSign in
Socket

hyper-scraper

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyper-scraper

Light-ware javascript web scraper

latest
Source
npmnpm
Version
1.2.5
Version published
Maintainers
1
Created
Source

Task manager

Example use of TaskManager

TaskManager.execute(task)

Task configuration structure example

{
  "download":{
    "url": "http://example.com/"
  },
  "map": {
    "heading": "#header_counters strong:first-child"
  }
}

expect to return:

{ 
  timestamp: 1553293395534,
  input: { 
     datastamp: 'f812d50186b3b892abc3a852f2fe1c5d',
     size: undefined,
     code: 200,
     path: '/' 
  },
  extraction:
  {
     datastamp: '2b6fc1614e3893667d26497a329e7667',
     data: { heading: [25839] } 
  }
}

where extraction is the data extracted from HTTP response.

FAQs

Package last updated on 04 Oct 2023

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