taobao-parser
v1.0.1
Published
get items' json data in taobao search page without parser html dom, using node vm sandbox
Downloads
13
Readme
taobao-parser
get taobao item data without parser html dom, using node vm sandbox
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- 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