scraper_amazon
find information about product by link, like: price, availability, seller, title.
Last updated a year ago by christianp93 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install scraper_amazon 
SYNC missed versions from official npm registry.

scraper_amazon

find information about product by link, like: price, availability, seller, title.

Installation:

npm install --save scraper_amazon

Usage async/await:

const scraper_amazon = require('scraper_amazon');

const url = 'https://www.amazon.es/Cotoneve-Maxi-Dischettix50-A-Azzur/dp/B01M8KKDBH/ref=sr_1_1?ie=UTF8&qid=1541087266&sr=8-1&keywords=B01M8KKDBH'
const currency = 'EUR';

await scraper_amazon(url, currency);

Usage simple Promise:

const scraper_amazon = require('scraper_amazon');

const url = 'https://www.amazon.es/Cotoneve-Maxi-Dischettix50-A-Azzur/dp/B01M8KKDBH/ref=sr_1_1?ie=UTF8&qid=1541087266&sr=8-1&keywords=B01M8KKDBH'
const currency = 'EUR';

await scraper_amazon(url, currency).then((data)=>{
  // ...
}).catch((err)=>{
  // ...
});

Result:

screenshot

Debug Usage:
const scraper_amazon = require('scraper_amazon');

const url = 'https://www.amazon.es/Cotoneve-Maxi-Dischettix50-A-Azzur/dp/B01M8KKDBH/ref=sr_1_1?ie=UTF8&qid=1541087266&sr=8-1&keywords=B01M8KKDBH'
const currency = 'EUR';

await scraper_amazon(url, currency, true)

Result whith Debug Usage:

Screenshot of web page:

screenshot

Current Tags

  • 1.0.2                                ...           latest (a year ago)

3 Versions

  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |