Skip to content

Instantly share code, notes, and snippets.

View Shriranjanidev's full-sized avatar

Shriranjanidev

View GitHub Profile
@Shriranjanidev
Shriranjanidev / cowin_vaccination_autobooking.js
Last active May 14, 2021 21:58 — forked from varun160490/cowin_vaccination_autobooking.js
Working script to book a vaccination slot on console as soon as a slot opens up in https://selfregistration.cowin.gov.in/
// This javascript code will alert you and immediately book the slot whenever a slot opens up on the given date within the given pincodes.
// **** NOTE: FIRST, GENERATE CAPTCHA USING THE BELOW GENERATE CAPTCHA CODE. THEN, UPDATE IT HERE AND THEN RUN THIS SCRIPT ****
// Steps to use
// 1. Update pincodes,age,district_id,beneficiaries,vaccine & vaccine_date.
// 2. Login to https://selfregistration.cowin.gov.in/
// 3. Right Click on the website
// 4. Click on Inspect
// 5. Switch to the Console Tab on the recently opened Inspect window