taobao-parser

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i taobao-parser

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • zcong