Skip to content

NodeJS WebScrapper to get the price of one product and send a SMS when it is below the desired price

Notifications You must be signed in to change notification settings

KozielGPC/amazon-webscrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

WebScraper to check if the price of the chosen product is below the desired price. When the price is below the desired price, a SMS will be sent to your phone with the product information, then the application will be stopped.

Main Technologies: NodeJS and Cheerio to get website data, and Twilio as SMS service

Installation

$ npm install

Set Enviroment

$ cp .env.example .env

Set your Twilio information in TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN and TWILIO_PHONE_NUMBER
Set your phone number at MY_PHONE_NUMBER

Set Product and price information

Change the product and price information in the variables desiredPrice and url

Running the app

$ node scraper.js

About

NodeJS WebScrapper to get the price of one product and send a SMS when it is below the desired price

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published