Back with another nasty hack guys.
This very basic script can be used to automate COVID-19 vaccination slot booking on India's Co-WIN Platform. - vishalv26/covid-vaccine-booking
github.com
Download the zip from here.
Unzip the archive and run native.bat(Tested on Windows 10 x64)
For first run you have to enter parameters like State, Area, Vaccine preference, Free/Paid, date range to book etc. which will then be saved to a json file as shown below for further repeated runs.
You have to rerun the batch file every 15-20 mins with a fresh OTP. I modified the python script for subsequent runs and hardcoded the user prompts and my phone number to minimize manual intervention to just OTP entry for polling.
The optional modifications for .src/covid-vaccine-slot-booking.py are as follows (for subsequent runs only)-
I have been trying manually for the past week but never succeeded in booking a slot. It lit a fire under me after two of my juniors from college died.
Every time I saw a free slot and tried booking it got gobbled up which led to me believe that bots are in play.
Finally I gave up and went with "If You Can't Beat Them...Join Them" and a simple Google search threw this up.
As you can see below this method worked for me.
You will need to enter the captcha manually when a free slot is captured. It has a nasty beep alert which you cannot miss.
.....Update .
It got cancelled without any reason.