Skip to content

A web scraper to check the test result published by Miulli Hospital.

Notifications You must be signed in to change notification settings

frascu/hospital-result-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hospital result checker

History

Last weekend, I took the Covid-19 test. At the end of the test, the nurse gave me a sheet of paper describing how to check my result. There were the credentials in order to check the result on their platform.

Instead of checking manually every 5 minutes if something had been uploaded, I preferred to create this small scraper that did everything for me. At the end, I received the document by a telegram message.

The script is general, so you can reuse with your credentials. Of course, it can be reused to check results published by the Miulli Hospital located in Acquaviva delle Fonti or other hospitals that use the same platform.

Install

pip install -r requirements.txt

Make sure you have also installed geckodriver.

Parameters

The parameters are:

  • --username -u - provided username
  • --password -p - provided password
  • --code -c - provided code
  • --telegram-bot-token -t (optional) - Telegram bot token that you can generate with BotFather

Usage

python main.py --username 123456 --password 123456 --code 123456 --telegram-bot-token 5s6r5ge2fv56wg

The script will remain active until the result is published.

About

A web scraper to check the test result published by Miulli Hospital.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages