Giter VIP home page Giter VIP logo

mrugank-upadhyay / monitoring-and-alert-system Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 16 KB

Best Buy hasn't implemented an alert system for their out-of-stock products yet and while finding parts for my PC build, I need to be notified when parts have been restocked. I thought to make this script to automate the process.

Python 95.63% Shell 4.37%
python webscraper automation alert-service

monitoring-and-alert-system's Introduction

Monitoring-and-Alert-System

Best Buy hasn't implemented an alert system for their out-of-stock products yet unlike Newegg or B&H. While finding parts for my PC build, I need to be notified when parts have been restocked. I thought to make this script to automate the process.

The script takes a list of urls from a text file and for each product, scrapes availability information from the specified Best Buy webpage and if it finds the product to be in stock, it will notify me via email. I used Selenium to automate the webscraping using its chrome webdriver (with a headless implementation) and element searching; then incorporated SMTPlib to send emails to a gmail account securely using SMTPSSL.

The task scheduling is done using Cron jobs on Linux and Windows Task Scheduler on Windows.

Considering many online stores don't have alert systems, I might create separate webscraping functions for them and then roll everything into a single script. That way, it can simply analyze the url to identify which script to use and I can get a general alert system going, and I'd only need my single wishlist.txt to stay organized!

monitoring-and-alert-system's People

Contributors

mrugank-upadhyay avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.