mrspider

simple polite crawling of the web.

Usage no npm install needed!

<script type="module">
  import mrspider from 'https://cdn.skypack.dev/mrspider';
</script>

README

Mr Spider

Crawl the web politely.

NPM

alt tag Coverage Status

Join the chat at https://gitter.im/vermiculite/mrspider

Installation

$ npm i mrspider --save

Example

An example for parking data

Middleware

Fetch the page

mrspider request

Parse DOM

mrspider cheerio

mrspider JSDOM

Parse Data

mrspider regex data extractor

mrspider css data extractor

mrspider css links

mrspoder image extraction

Data validation

mrspider validator

Data persistence

mrspider mongodb persister

Features

  • Super simple api.
  • Streaming architecture allows complete customisation.
  • Use the full power of JavaScript giving you great flexibility.

Tests

To run the test suite, first install the dependencies, then run npm test: