SRvSaha / CoWinVaccineSlotFinder

Cross-Platform Software to Fetch the Available Slots & Book the Appointment for COVID-19 Vaccination
https://shawt.io/r/sYv
MIT License
81 stars 32 forks source link

[Question]Does auto-captcha work? #43

Closed deepak-batra closed 3 years ago

deepak-batra commented 3 years ago

I've integrated something very similar in a python script but I'm not sure how to write tests to verify if it works. The captcha integrated here works similarly. I was wondering if you've tested that either via a UT or on cowin.

SRvSaha commented 3 years ago

@deepak-batra, I have tested it, it works. Integration is done but will be released with v4.1.0. To Write Tests, get an SVG and then manually check it's value and asset if it is equal to the computed one

Madhumantisg commented 3 years ago

I'm trying to write code it Python too. OTP generation was working until 17th but from yesterday I keep getting 403 request blocked when I try to generate OTP. Any suggestions please? Below is the error message: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

ERROR: The request could not be satisfied

403 ERROR

The request could not be satisfied.


Request blocked. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: t5plHD5wFv3ZCxqsYsyXAkn4Q3DOUXYD3Kqa_cETsr_RhqhgBN775w==

Please help! thanks

deepak-batra commented 3 years ago

I'm trying to write code it Python too. OTP generation was working until 17th but from yesterday I keep getting 403 request blocked when I try to generate OTP. Any suggestions please? Below is the error message:

ERROR: The request could not be satisfied

403 ERROR

The request could not be satisfied.

Request blocked. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. Generated by cloudfront (CloudFront) Request ID: t5plHD5wFv3ZCxqsYsyXAkn4Q3DOUXYD3Kqa_cETsr_RhqhgBN775w== Please help! thanks

You might need a user-agent. If you're already providing that then it might be an IP issue. I was running the script from a VM outside India and I was getting the same error.

deepak-batra commented 3 years ago

@deepak-batra, I have tested it, it works. Integration is done but will be released with v4.1.0. To Write Tests, get an SVG and then manually check it's value and asset if it is equal to the computed one

Cool. 👍 Closing this.

SRvSaha commented 3 years ago

@deepak-batra If you feel, I could help you, feel free to Star the repo and share it with your buddies! Also share your feedback by comment/share/like in the associated LinkedIn Post That'll be used as References/Testimonials in the Application and will increase the credibility of the App.

jayeshpawar04 commented 3 years ago

Its still asking for captcha. I think sometimes the feature doesn't work. (version 4.1.0)

SRvSaha commented 3 years ago

Its still asking for captcha. I think sometimes the feature doesn't work. (version 4.1.0)

@jayeshp004 Check your config file's "AutoReadCaptcha": "<REPLACE_ME>", // Use either true or false in the <REPLACE_ME> section; By default false; // True means No need to enter captcha, Captcha will be automatically computed by AI Model, False means captcha needs to be entered manually in the Captcha Popup window