aimer-nightmare
Aimer for single page application.
Last updated 4 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install aimer-nightmare 
SYNC missed versions from official npm registry.

aimer-nightmare NPM version NPM downloads Build Status

Aimer for single page application.

Install

$ npm install --save aimer-nightmare

Usage

const nightmare = require('aimer-nightmare')

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

API

nightmare(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

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |