Source code for chrome extension Cowin Booking. Auto fills the fields on cowin vaccine slot booking portal to speed up the process and quickly book a slot.
Can we have a feature to get a notification in some way which tells us to update the chrome extension ? I see changes being made to the bot every day and when the new changes are pushed to the chrome web store, does my extension also get updated automatically ? @sushrut111
Thanks a lot to you, I was able to book 100โs of slots for my friends, family, maids, my driver etc without your utility it would have been very difficult ๐
Is it possible to have automation from end to end from reading the otp to booking?
I filled the form and set the refresh timer to 10secs.
I am getting beep on every 5/10secs but It is not proceeding ahead or showing any available slots.
I have applied filters like 18+ and free. I tried removing the free filter but it's the same.
I am also searching by District (Mumbai) and have mentioned my nearby address keywords in the input box provided.
I checked the network tab and it is making 4 api calls after refresh interval time.
Previously it used to make 1 or 2 api calls every refresh interval time.
Making 4 calls is reaching API limit and thereby error message. I checked other cowin booking automations and they make 1 api call every refresh interval time.
Even though the 15mins refresh works but the slot booking doesn't work even after selecting the preference. I can't see any movement on the screen whenever any slot is updated with the selected preference. Am I missing anything? I am using the latest version 3.7.0
I would appreciate if someone can take this up and create a wiki like markdown document on how to use this extension and what the different fields in autofill form mean.
I will add it to the project's wiki.
If we add multiple hospital name by comma separate then script will check only those ?
Which filter we should use state and city?
Thanks for this utility
Hi, please provide an option to change refresh time. The current refresh time of 2 seconds triggers something as they show a toast notification saying 'something went wrong' after multiple refreshes.
Also, it may lead to more severe restriction by their firewall because it has happened with me when I was playing with their API and exceeded the rate limit.
Thanks again for this extension. Ability to choose the center is the best feature.
Noticed today that while running the automation tool, whenever Search is hit, cowin complains "Too many search requests, please try after sometime!" (see screenshot below).
This is news to me, as the refresh interval hasn't been changed from 10 seconds.
The Pincode search on Cowin gives arbitrary results in some cases. In my case for example it shows one centre that is close and another that is too far. Other nearby centres are ignored in the result.
When searching by district, auto selection can sometimes result in selection of centres that are far away too.
To curb this issue, there could be an optional field where user can provide certain vaccination centre names exactly matching the preferred centre names in Cowin results (like state and district). If any of those centres has a slot available, it is given first preference, otherwise whatever is available is chosen.
This way one could try booking slots in vaccination centres that are more feasible for them.
If the selected slot is available on search, but after selecting the time slot and captcha the booking does not go through due to the center being full, the site is stuck on the appointment page. Can implement a feature to go back to search page if the appointment is not booked. Thanks in advance :)
Please add an automatic schedule button every time i need to select schedule option after entering the otp thats the only drawback for now....oh and yeah is there anyway to automatically verifying the otp in the website!!! from phone to pc
Hi,
First of all, a very thanks to you for this superb extension.
I have been using this app from your first release, and as of it, i need to acknowledge few glitches i found using the extension of chrome:
Initially, extension omits paid slots on selecting the free checkbox, but from last 2-3 days inspite of selecting free slot, paid slots are being booked.
Secondly, one of the major issue iam facing is the error "Something went wrong, please try again!" in red notification bar in bottom left. However, auto-search is still on, and it just dont allow the captcha to be entered automatically. This error appears continously, and is resolved by changing the internet connection. I use 3 hotspots, and interchange the connections every 40-50 seconds as of this issue.
Time interval auto-refresh gets little more faster when filters are applied, like if you have selected 10 seconds interval for autorefresh, but if you select filters (free/paid), it automatically refresh within 2-3 seconds (along with filter refresh).
However, as of this extension, i have helped more then 500 people who do not have internet knowledge to book the slots.
A very big Thanks for the extension.
Kiwi Browser version: Latest on Play Store (Git210216Gen570536402_
Cowin Booking Extension: v4.0.1 (Latest on Chrome Store)
When I use this extension on Kiwi browser, district is not filled automatically. As you can see in first frame of video, I have already filled Maharashtra and Mumbai in form and after pressing 'Save Changes' button, 'Maharashtra' is filled automatically, but 'Mumbai' is not filled automatically, instead script halts with a dropdown where I have to manually select 'Mumbai' each time.
See attached screen record video for more details.
video.mp4
Can you please resolve this glitch to make this utility even better.
Hi!
Currently the contentScript.js includes two main parts in it, namely:
The main logic of the automation which includes auto filling, filter selection, auto refresh, captcha fill, etc.
The other is the HTML content that is injected onto the website which includes the Button on the upper left which triggers the Form Modal.
It would be nice to have the HTML part in a separate js file for better development and cleaner code.
Additionally, the code can also be cleaned up as there are some unused lines of code and a bunch of comments!
Issue: After every renewal of the session the user is taken to the Login / OTP page, after which, a member selection screen appears which is currently not automated and waits for the user's input.
User can be asked to input the position of the member he intends to schedule the slot for. (For Eg, 1st User, 2nd User)
There should be an option available to select vaccination centers also so that anyone will be able to get bookings for their preferred vaccination center only.
yesterday it was working fine but today when i went to check the slot the state name and the district name are not filling automatically. i have tried doing it again and again but same problem. i think it is some kind of bug pls fix it.
really helpful extension. ( version 4.0.1)
thankyou
I tried to book via pin code but after trying with pin several time it shows something went wrong
after this issue you cannot do anything tried to login again it says wait for 180 sec .
If I get this error again will share video link or image.
I believe Umang website shows the slots earlier than the COWIN website and there is no CAPTCha there . Can u please try make something similar to this for the Umang Website .
I have set skip days to 1.
It still books today's slot in case center provides option for both vaccines.
Refer yellow highlighted part in attached image, where covaxin slot is skipped, but covishield slot is booked for today, even though i have set skip days to 1.
This seems to be bug in script algorithm.
Can you resolve this issue to make this wonderful utility even better.
Thanks.
i really want to thank you that the vaccine bot worked like a charm i was able to book 3 slots in just 2 hours. Thank you so much man!! you are awesome
I tried accessing search by district in first tab and search by pin code in second tab. When I write this in console 'console.log(window.localStorage.getItem("searchpref"));' , I get pincode instead of district in first tab. And I feel this affects the working of the bot as it is not able to successfully book available sessions.
Suggestion to solve this issue - https://stackoverflow.com/questions/12617536/store-browser-tab-specific-data