recrawler-spa

3.0.0 • Public • Published

recrawler-spa NPM version NPM downloads Build Status

recrawler but for single page application.

Install

$ npm install --save recrawler-spa

Usage

const recrawler = require('recrawler-spa')
 
recrawler('http://some-url.com/#!/list')
  .then($ => {
    // your code goes here
    const src = $('img').attr('src')
  })

API

recrawler(url, opts)

Use nightmare to retrieve html from url, this is good for handling SPA website.

opts

cheerio

cheerio options. Except decodeEntities is false by default here.

nightmare

nightmare options.

License

MIT © EGOIST

Readme

Keywords

Package Sidebar

Install

npm i recrawler-spa

Weekly Downloads

5

Version

3.0.0

License

MIT

Last publish

Collaborators

  • rem