sushrut111 / cowin-automation-extn

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.
MIT License
47 stars 31 forks source link

coWIN has removed captcha code. #86

Closed iPankajKumar closed 3 years ago

iPankajKumar commented 3 years ago

Just got to know that they have removed the captcha code and decreased the limit to 20 per minute. and I was thinking why my booking is not getting created automatically. Please update the extension ASAP so that we can get the dose

AshishNamdev commented 3 years ago

@sushrut111 I have just noticed auto confirm code is inside enterCaptcha function, which the following one.

setTimeout(() => {

    if (enableautoconfirm) $("ion-button.confirm-btn")[0].click();
  }, 500);

And now Cowin Platform have removed CAPTCHA so this could be the probable issue of the click event not happening on Confirm button.

Can you please check and confirm so I can take this up tomorrow ?

sushrut111 commented 3 years ago

@AshishNamdev this is the issue. Feel free to take it up. Thanks

iPankajKumar commented 3 years ago

it would be so nice if we can have the new version ASAP. So many slots came and went by

iPankajKumar commented 3 years ago

@AshishNamdev this is the issue. Feel free to take it up. Thanks

@sushrut111 I have just noticed auto confirm code is inside enterCaptcha function, which the following one.

setTimeout(() => {

    if (enableautoconfirm) $("ion-button.confirm-btn")[0].click();
  }, 500);

And now Cowin Platform have removed CAPTCHA so this could be the probable issue of the click event not happening on Confirm button.

Can you please check and confirm so I can take this up tomorrow ?

They might re-introduce it later, so keep a check if captcha present then decode or go ahead

sushrut111 commented 3 years ago

Fixed: https://github.com/sushrut111/cowin-automation-extn/releases/tag/v4.1.2

sushrut111 commented 3 years ago

@ipankajsingh taken care of that already.

iPankajKumar commented 3 years ago

@sushrut111 extension doesn't work anymore. Using latest version , even if there is no captcha, it doesn't book nor select the preferred time.

sushrut111 commented 3 years ago

@ipankajsingh which version did you use?

iPankajKumar commented 3 years ago

the one released last night after removing the captcha decode thing.

sushrut111 commented 3 years ago

Would be great if you specify version. Anyway, use v4.1.2 - this is the latest with the fix. Let me know if that doesn't work either.

iPankajKumar commented 3 years ago

yeah I was on 4.1.1, just tested 4.1.2 It is working but I can't believe that even the automated script isn't fast enough to book a slot.

sushrut111 commented 3 years ago

I can't believe that even the automated script isn't fast enough to book a slot.

There seems to be a competition between script users now. @ipankajsingh

iPankajKumar commented 3 years ago

I can't believe that even the automated script isn't fast enough to book a slot.

There seems to be a competition between script users now. @ipankajsingh

Yeah, vaccination has become a hackathon now