spider-spa

1.0.7 • Public • Published

spider-spa

npm version

Fetch html after SPA application rendered.

Usage

1.npm install spider-spa --save

var  Spider=require('spider-spa')
 
Spider.get('http://alimama.com').then(function(data){
  console.log(data)
})
 

原理

利用phantomjs获取前端渲染完成以后的html页面.

Readme

Keywords

Package Sidebar

Install

npm i spider-spa

Weekly Downloads

7

Version

1.0.7

License

MIT

Last publish

Collaborators

  • gongeek