1.0.1 • Published 7 years ago

taobao-parser v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

taobao-parser

NPM version NPM downloads Build Status

get taobao item data without parser html dom, using node vm sandbox

axios/cheerio/node-vm

Install

$ yarn add taobao-parser

Usage

const taobaoParser = require('taobao-parser')

// return a promise
taobaoParser(url)
  .then(data => {
    console.log(data)
    //=> items data here
  })
  .catch(e => console.log(e.message))
// run example.js
$ node example.js

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

taobao-parser © zcong1993, Released under the MIT License. Authored and maintained by zcong1993 with help from contributors (list).

github.com/zcong1993 · GitHub @zcong1993

1.0.1

7 years ago

1.0.0

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago