# taobao-parser

> get items&#39; json data in taobao search page without parser html dom, using node vm sandbox

Latest version **1.0.1** (published 2017-04-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install taobao-parser
pnpm add taobao-parser
yarn add taobao-parser
bun add taobao-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-04-19 |
| First published | 2017-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | zcong1993 |
| Maintainers | zcong |

## Links

- npm: https://www.npmjs.com/package/taobao-parser
- Repository: https://github.com/zcong1993/taobao-parser
- Homepage: https://github.com/zcong1993/taobao-parser#readme
- Issues: https://github.com/zcong1993/taobao-parser/issues
- npm.io page: https://npm.io/package/taobao-parser

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.16.1
- [cheerio](https://npm.io/package/cheerio.md) ^0.22.0

## Recent versions

- 1.0.1 (latest) — 2017-04-19
- 1.0.0 — 2017-04-18
- 0.0.1 — 2017-02-28
- 0.0.0 — 2017-02-28

## README

# taobao-parser

[![NPM version](https://img.shields.io/npm/v/taobao-parser.svg?style=flat)](https://npmjs.com/package/taobao-parser) [![NPM downloads](https://img.shields.io/npm/dm/taobao-parser.svg?style=flat)](https://npmjs.com/package/taobao-parser)
 [![Build Status](https://img.shields.io/circleci/project/zcong1993/taobao-parser/master.svg?style=flat)](https://circleci.com/gh/zcong1993/taobao-parser)

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

[axios](https://github.com/mzabriskie/axios)/[cheerio](https://github.com/cheeriojs/cheerio)/[node-vm](https://nodejs.org/dist/latest-v7.x/docs/api/vm.html)

## Install

```bash
$ yarn add taobao-parser
```

## Usage

```js
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](https://github.com/zcong1993), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by zcong1993 with help from contributors ([list](https://github.com/zcong1993/taobao-parser/contributors)).

> [github.com/zcong1993](https://github.com/zcong1993) · GitHub [@zcong1993](https://github.com/zcong1993)

---
_Source: https://npm.io/package/taobao-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
