Skip to content
/ nhs-covid Public

Web scraper for NHS UK Covid vaccination appointments

License

Notifications You must be signed in to change notification settings

su1s/nhs-covid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NHS UK Covid Vaccination Scraper

Web scraper for NHS UK Covid vaccination appointments.

Features:

  • Automatically search for appointments every X seconds
  • Email alerts if appointments available within specific distance
  • Booking mode, to quickly get to the make booking page
  • Writes results to log file

Setup

This is a python3 script, you also require the correct ChromeDriver.exe for your installed version of Chrome which can be downloaded from here:

Google ChromeDriver Download

Unzip the EXE into the same folder as the script.

Install requirements:

pip install -r requirements.txt

Edit the peronsal, alert and email settings in the top of the script to required values.

Running

To run in standard mode which will continuously loop and scrape appointments:

python nhs.py 

To run in booking mode which will perform one search and leave the browser visible on screen:

python nhs.py --booking

Screenshots

Standard Mode

Screenshot

Booking Mode

Screenshot

Known Limitations

Does not support the queuing system at peak times.

Not currently tested under Linux although should work.

About

Web scraper for NHS UK Covid vaccination appointments

Resources

License

Stars

Watchers

Forks

Languages