pallupz / covid-vaccine-booking

This tool can be used to automate booking slots on Co-WIN Platform.
MIT License
597 stars 533 forks source link

Unable to book slot #171

Closed kannarao closed 3 years ago

kannarao commented 3 years ago

Centers available in Bangalore Rural from 20-05-2021 as of 2021-05-20 09:11:05: 35 Centers available in Bangalore Urban from 20-05-2021 as of 2021-05-20 09:11:05: 37 Centers available in BBMP from 20-05-2021 as of 2021-05-20 09:11:05: 119 +-------+-------------------------------+------------+-----------+-------------+------------+----------------------------------------+ | idx | name | district | pincode | available | date | slots | +=======+===============================+============+===========+=============+============+========================================+ | 1 | MANIPAL NORTHSIDE CANARA UNIO | BBMP | 560003 | 47 | 20-05-2021 | ['10:00AM-12:00PM', '12:00PM-01:00PM'] | +-------+-------------------------------+------------+-----------+-------------+------------+----------------------------------------+ AUTO-BOOKING IS ENABLED. PROCEEDING WITH FIRST CENTRE, DATE, and RANDOM SLOT. ============> Got Choice: Center #1, Slot #1 Booking with info: {'beneficiaries': ['xxxxx'], 'dose': 1, 'center_id': 569222, 'session_id': 'e4b2b63c-c93f-4bf1-bde0-290aad1ae39b', 'slot': '10:00AM-12:00PM'} ================================= GETTING CAPTCHA ================================================== Captcha Response Code: 200 x_order_2: colinear! x_order_2: colinear! x_order_2: colinear! x_order_2: colinear!

kannarao commented 3 years ago

I am trying from last one week but unable to book It's always asking me to enter captcha but no result Is there any update happened to "/appointment/schedule" api request payload

himanshuhere commented 3 years ago

I had the same issue when I logged myself into Cowin's official site and to script simultaneously. Try using script way only. Good luck!

pallupz commented 3 years ago

Auto-booking constantly tries for the first center and date sorted alphabetically and chronologically. If the first, and in this case only, center is full but the availability has not been updated in the backend (which should be handled by the Govt's API team), this will keep attempting to book it over and over again. Not much I can do here.