Closed mjishnu closed 3 years ago
Even I was trying for the same, were you able to book successfully?
nope, i tried again for my mom but i wasn't able to get it , even when the cowin site showed slots available the script showed 0 centers available just like in the screenshot from my first post. it used to work for 45+ 2nd dose but now it doesn't idk why. i think it got to do something with the change in format to 18+ only from 18-44 and 45+, i hope someone finds a way to fix it.
I found a solution to the problem and booked a slot successfully!
to fix the issue go to src
folder and open the utils.py
and edit the filter_centers_by_age
function
change center_age_filter
from 45 to 18
in line 417
here is the edited utils.py
if u want
utils.zip
i hope this works for you
Even I was trying for the same, were you able to book successfully?
i found a fix try, it worked for me
@mash40
Even I was trying for the same, were you able to book successfully?
i found a fix try, it worked for me
@mash40
Thanks for your effort, will try and let you know the result.
@bombardier-gif plz update the repo for solution of this bug
sure! thanks
I was looking for a slot for my mom's 2nd dose when i search it shows 0 center available in the script but when i checked it in the cowin site there was a many centre's available idk why the script shows like this and site shows another. so to check if the script was broken i tried to book a 18+ 1st dose and the script worked fine so i figured that the issue was only for 45+ idk about 1st dose 45+ but there is an issue for 45+ 2nd dose.
I think the issue started in 6th july 2021, it was working fine untill then because i booked a slot for my dad last week and it worked then, i think this started after the cowin site updated its format and made all the centers 18+ instead of 18-44 , 45+ format. I am from kerala, india if region has something to do with this.
any help is appreciated
thanks for the script btw!