divagicha / cowin-vaccine-appointment-booking Goto Github PK
View Code? Open in Web Editor NEWScript to automate COVID-19 vaccination slot booking on India's Co-WIN Platform
Script to automate COVID-19 vaccination slot booking on India's Co-WIN Platform
Hi, i want to ask... the capatcha is auto submitted or we have to enter manually.
--> Enter OTP received on your mobile phone (Press 'Enter' to resend OTP): 507362
--> Validating 'OTP' to get token
FAILED ATTEMPT (message: Expecting value: line 1 column 1 (char 0)) (response:
<TITLE>ERROR: The request could not be satisfied</TITLE>Generated by cloudfront (CloudFront) Request ID: h-PlLM5mCb89M7dFmkVuId-dWD3imszMzOoiohEvP74QSU8ztGaXQQ==)
--> Generating OTP (There might be some delay in receiving the OTP, please wait atleast 2 minutes)
txnId: bf79352f-e7c5-46a7-a933-083da829976a (SUCCESS)
--> Enter OTP received on your mobile phone (Press 'Enter' to resend OTP): 507362
--> Validating 'OTP' to get token
FAILED ATTEMPT (message: 'token') (response: {"message": "Endpoint request timed out"})
--> Generating OTP (There might be some delay in receiving the OTP, please wait atleast 2 minutes)
FAILED ATTEMPT (message: Expecting value: line 1 column 1 (char 0)) (response:
<TITLE>ERROR: The request could not be satisfied</TITLE>Generated by cloudfront (CloudFront) Request ID: kZT9AVTq6DNU-7EbwQSE5PqvfVV9kAor57v1kAm7p_T3SDIRgc4ESw==)... trying again in 3 seconds
In ur repo v have to choose a centre from the available center list which is shown only after slots are released by cowin, otherwise no center are shown for selection. Plz make changes in repo so that it automatically pick up any centre which fulfils our other conditions instead of selecting centers which have already gone
Hi! Thank you for developing this tool. As you must be aware that recently GOI has limited API searches to 20 and have removed mandatory CAPTCHA for slot booking (https://www.republicworld.com/technology-news/other-tech-news/cowin-does-away-with-captcha-check-registration-for-covid-vaccination-to-become-quicker.html). So can you modify the tool to get rid of CAPTCHA?
A big thank you for the script and your time invested. This is very helpful.
Can we add a feature to filter by Vaccine Type. But most importantly change from a specific date search to search from date range n + 1 for 7 days
Thank you once again
-Add section on how to contribute for Windows, compile and create the final exe
Can v install exe file i.e GUI VERSION IN WINDOWS 7. Any additional requirements to b fulfilled??
Hi! Hope you are doing well?
As the central govt has started with free vaccination alongside private players, can you add an additional option to select between free or paid vaccine?
Thank you in advance!
Description:
In the current project, the Windows executable in ~11MB in size. In this case, a regular git clone could take time.
An use case would be:
Proposal 1:
git clone https://github.com/divagicha/CoWIN-Vaccine-Appointment-Booking/issues/new -b linux
git clone https://github.com/divagicha/CoWIN-Vaccine-Appointment-Booking/issues/new -b windows
Proposal 2:
• For Windows users, Include the Windows binary to the releases only if possible.
• For example: Use the releases links for download and check if the exec under "dist" can be deleted.
• https://github.com/divagicha/CoWIN-Vaccine-Appointment-Booking/releases/download/v2.3/CovidVaccinationAppointmentScheduler-Setup-v2.3.exe
PS D:\laragon\www\nvs\divagicha> python schedule_vaccination_appointment.py Traceback (most recent call last): File "schedule_vaccination_appointment.py", line 7, in <module> from CovidVaccineChecker import TextColors, CoWINAPI File "D:\laragon\www\nvs\divagicha\CovidVaccineChecker\__init__.py", line 13, in <module> from CovidVaccineChecker.captcha import captcha_builder File "D:\laragon\www\nvs\divagicha\CovidVaccineChecker\captcha.py", line 7, in <module> from cairosvg import svg2png File "C:\Users\PC11\AppData\Local\Programs\Python\Python37\lib\site-packages\cairosvg\__init__.py", line 26, in <module> from . import surface # noqa isort:skip File "C:\Users\PC11\AppData\Local\Programs\Python\Python37\lib\site-packages\cairosvg\surface.py", line 9, in <module> import cairocffi as cairo File "C:\Users\PC11\AppData\Local\Programs\Python\Python37\lib\site-packages\cairocffi\__init__.py", line 50, in <module> ('libcairo.so.2', 'libcairo.2.dylib', 'libcairo-2.dll')) File "C:\Users\PC11\AppData\Local\Programs\Python\Python37\lib\site-packages\cairocffi\__init__.py", line 45, in dlopen raise OSError(error_message) # pragma: no cover OSError: no library called "cairo" was found no library called "libcairo-2" was found cannot load library 'libcairo.so.2': error 0x7e cannot load library 'libcairo.2.dylib': error 0x7e cannot load library 'libcairo-2.dll': error 0x7e
Hi @divagicha
It's not an issue to be raised but to enhance the usability of this tool, I am raising this point. Can you also put an additional option of vaccine-type selection? I presume after 21st June, there will be centers injecting all vaccine types. So, I think putting an additional option for vaccine-type selection would be beneficial to the user!
What's your thought on this?
It would make this project really great if otp and captcha are also completely automated.
@divagicha when i try to tun on my pc this error shows : the program cant start because api-ms-win-core-path-1-1.0.dll is missing from your computer. Try reinstalling the program to fix this problem.
I have reinstalled it many times and still not working
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.