# scrap-the-price

> this moudle scrapes the price of amazon, walmart and target

Latest version **1.0.4** (published 2021-11-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install scrap-the-price
pnpm add scrap-the-price
yarn add scrap-the-price
bun add scrap-the-price
```

## 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.4 |
| Published | 2021-11-23 |
| First published | 2021-11-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Raja Sharath Chandra Acha |
| Maintainers | sharathchandraacha |
| Keywords | amazon price, price, scrapping, price scrapping, amazon, walmart, target |

## Links

- npm: https://www.npmjs.com/package/scrap-the-price
- Repository: https://github.com/sharathchandra04/scrap-the-price
- Homepage: https://github.com/sharathchandra04/scrap-the-price#readme
- Issues: https://github.com/sharathchandra04/scrap-the-price/issues
- npm.io page: https://npm.io/package/scrap-the-price

## Dependencies (2)

- [jsdom](https://npm.io/package/jsdom.md) ^18.1.1
- [puppeteer](https://npm.io/package/puppeteer.md) ^11.0.0

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 1.0.4 (latest) — 2021-11-23
- 1.0.3 — 2021-11-23
- 1.0.2 — 2021-11-23
- 1.0.1 — 2021-11-23
- 1.0.0 — 2021-11-23

## README

# scrap-the-price

This package is useful in scraping the price of a product in amazon.in,
walmart and target. this works only if you provide the url of the
product page.

Example Usage
-------------

* * * * *

const scraptheprice = require('scrap-the-price')

const priceData = await scraptheprice.scrapPrice({ url: 'product-url'})
//or
scraptheprice.scrapPrice({url: 'product-url'})
    .then(function(pricedata){
        console.log(pricedata)
    })
    .catch(function(err){
        console.log(err)
    })

// output

// { productPrice: '\$25', message: 'scraping succesfull.'}

// or

// { productPrice: "", message: 'unable to find price, please try once
again.'}

// or

// { error: "", message: 'unexpected error.'}

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