Skip to content

giocalitri/maimmunization_watcher

Repository files navigation

MA Immunization COVID-19 Vaccines sites watcher

Why?

The MA Immunization website is simply horrible 🤦🏻‍♂️.

The other websites that aggregate infos are OK, but they need to be refreshed 🤯.

This project uses command line 🚀, makes a request every few seconds ⏰ and prints in the terminal 🐚 direct links to the site to book an appointment for the available date.

Right now it supports the few locations closer to Boston: others can be added in urls.py.

Requirements 🛒

Python 3.6+ (2 is dead) is the only requirement. If you are not sure which python you are running, then try to run

> python --version

If it says something like 2.7 you are probably running the system python. In this case you will probably have also a python3 and a pip3 available, but you might need to run pip3 as superuser.

> git clone https://github.com/giocalitri/maimmunization_watcher.git
> cd maimmunization_watcher
> pip install -r requirements.txt

If for any reason the installation of the requirements fails, try to install the strict dependencies only:

> pip install beautifulsoup4 requests htmlmin

How to use 🔧

> python watch_site.py

Notes ⚠️

  • Remember that, on Mac, Command ⌘ + Mouse Click opens the link directly in the browser
  • Remember to stop the script when not using it. There is throttling implemented, but you do not want your IP banneded for running it for days straight!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages