June 2020 I needed to renew my passport for several reasons, however the appoinments for the agency were never available and when they were, they were quick to go as the agency told me. Everyday I would check for appointments but no dice. So I decided to automate this in a safe way to notify me of an available appointment ASAP. A month later, I got a notification on my gmail and I quickly booked the appointment!
Vfsvisaonline is an __automated appointment availability__ scraper.
It works by running every X minutes (time is optional) and navigating through the vfsvisaonline webpage to check if an appointment is available. This method uses chrome driver since the page would not load without JavaScript. To see how to set up this tool and to learn more, check out the tutorial I made:
Click image below!
DISCLAIMER: ONLY WORKS WITH A GMAIL ACCOUNT
Go to your terminal/command prompt on your local machine:
git clone https://github.com/alpharaoh/vfsvisaonline.git
- Install Chrome Driver at: https://chromedriver.chromium.org/downloads
Make sure to drag your Chrome Driver in a safe place where it won't accidentaly get deleted - Open the main Python file and scroll down until you see
path = "/Users/USER/Documents/Appointment_checker_na/chromedriver"
. Change this location to the path of your chrome driver. - Run the python script.
- You will be asked for your gmail account and for details on which appointment you want. Please follow them and the program should run as expected.