@themarcba/amazon-web-scraper
v1.0.5
Published
Library to web-scrape data from Amazon to find out the status of an item at Amazon
Downloads
1
Maintainers
Readme
Amazon Web Scraper
Library to web-scrape data from Amazon to find out the status of an item at Amazon without an API key. This is more of an experimental library. I would not use this in production 😉
Install
Using npm
$ npm install @themarcba/amazon-web-scraper
Using yarn
$ yarn add @themarcba/amazon-web-scraper
Use
const { getAvailabiliyText } = require('@themarcba/amazon-web-scraper')
const url =
'https://www.amazon.com/Funko-Pop-Movies-Suicide-Damaged/dp/B08P5XC9FL/ref=sr_1_2?dchild=1&keywords=harley+quinn+funko&qid=1627986255&sr=8-2'
const availability = await getAvailabiliyText(url)
console.log(availability)