Skip to content

This is a simple monitering & alerting tool for those of you who are worried (Paranoid xD ) about the covid-19 propagation in a certain country.

Notifications You must be signed in to change notification settings

bouguerra-khalil/Covid_Monitoring-Alerting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoronaVirus Cases Monitoring & Alerting Tool

photo

This is a simple monitering & alerting tool for those of you who are worried (Paranoid xD ) about the covid-19 propagation in a certain country.

Prerequisites

You need to install and config Selenium WebDriver

  • Installing Selenium with pip
    $ pip install  -U selenium
  • Selenium requires also a driver to interface with the chosen browser. Firefox, for example, requires geckodriver. Make sure it’s in your PATH, e. g., place it in /usr/bin or /usr/local/bin.

Choose the corresponding package depending on you system from here, For linux64 you can run this :

$ cd /usr/bin
$ wget https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz
$ tar -xf geckodriver-v0.27.0-linux64.tar.gz

Setup

You will need to set up in config.py:

- A gmail address in order to be able to send situation update notification emails.
- List of countries you want to monitor  
- List of emails users or subscribers  to send update notifications too 
- Cloud service or a laptop laying arround to run the app on. 

Concept

The idea is to scrape data from this CoronaVirus website save it in a Log file periodicaly. And at each update intervall , check if the scrapped data for the alert_countires correspond to the data our logs, if not update the logs and send notification emails for the subscribers.

Desclaimer

This tool is based on the data from the CoronaVirus website and it may be outdated. The tool may not function proporly if the website changed it's structure because the scraping depend on the content of the webpage.

About

This is a simple monitering & alerting tool for those of you who are worried (Paranoid xD ) about the covid-19 propagation in a certain country.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages