Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added geetest support for deathbycaptcha.com service #12

Closed
wants to merge 4 commits into from

Conversation

david96182
Copy link

Recently deathbycaptcha added support for geetest v3 and v4. I add support for this type of captchas in unicaps and also update the tests to include them for deathbycaptcha.
On the other hand, update the tables of the characteristics of the captchas that deathbycaptcha supports, there are some that are marked as not supported when it does. Although their documentation doesn't say so explicitly, they do support it. You can try. These are:

  1. Image Case Sensitive
  2. Image Numbers only
  3. Image Letters only
  4. Image Math
  5. reCaptcha v2 Enterprise
  6. reCaptcha v2 Google service
  7. reCaptcha v3 Enterprise

unicaps/_service/deathbycaptcha.py Outdated Show resolved Hide resolved
unicaps/_service/deathbycaptcha.py Outdated Show resolved Hide resolved
@@ -83,7 +83,7 @@ if __name__ == '__main__':
| [azcaptcha.com](https://azcaptcha.com/) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | Latin | ✅ |
| [captcha.guru](https://captcha.guru/ru/reg/?ref=127872) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | Latin | ✅ |
| [cptch.net](https://cptch.net/auth/signup?frm=0ebc1ab34eb04f67ac320f020a8f709f) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | Cyrillic/Latin | ❌ |
| [deathbycaptcha.com](http:https://deathbycaptcha.com) | ✅ | | ❌ | | | | ❌ | Latin | ❌ |
| [deathbycaptcha.com](http:https://deathbycaptcha.com) | ✅ | | ❌ | | | | ❌ | Latin | ❌ |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. deathbycaptcha does not provide an option to specify the flags "Case Sensitive", "Numbers only", etc.
  2. What does this have to do with "Added geetest support for deathbycaptcha.com service"?

Please revert this changes.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. They do not have implemented the parameters to specify the details of the captcha of type image, but they do solve all the ones I mention.
  2. Sorry. Since it is related to deathbycaptcha.com I included it here.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once again, deathbycaptcha does not allow to pass the values of these parameters.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is true that it does not allow to pass the parameters, but it does solve those types of images. I think you should clarify the table to which it corresponds, because at least I understand the types of captcha of image type that each service resolves and not the parameters that it accepts, for that I think that the documentation of each service is already there.

@@ -112,7 +112,7 @@ if __name__ == '__main__':
| [azcaptcha.com](https://azcaptcha.com/) | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
| [captcha.guru](https://captcha.guru/ru/reg/?ref=127872) | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
| [cptch.net](https://cptch.net/auth/signup?frm=0ebc1ab34eb04f67ac320f020a8f709f) | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| [deathbycaptcha.com](http:https://deathbycaptcha.com) | ✅ | ✅ | | | ✅ | ❌ | ❌ |
| [deathbycaptcha.com](http:https://deathbycaptcha.com) | ✅ | ✅ | | | ✅ | ❌ | ❌ |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with the "Google service" support only, the Enterprise reCAPTCHA v2 is not supported

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have solved this type of captchas, it does not have a very good percentage of success, but it does solve it.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Give me an example please

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried with your example recaptcha_v2_enterprise.py and it returns the captcha response but it doesn't solve it. I tried with Twocaptcha and it does not solve it either, it returns the answer but it does not solve it. In fact, deathbycaptcha gets the response much faster.

@@ -128,7 +128,7 @@ if __name__ == '__main__':
| [azcaptcha.com](https://azcaptcha.com/) | ✅ | ❌ | ✅ | ❌ | ❌ |
| [captcha.guru](https://captcha.guru/ru/reg/?ref=127872) | ✅ | ❌ | ✅ | ✅ | ✅ |
| [cptch.net](https://cptch.net/auth/signup?frm=0ebc1ab34eb04f67ac320f020a8f709f) | ✅ | ❌ | ❌ | ❌ | ❌ |
| [deathbycaptcha.com](http:https://deathbycaptcha.com) | ✅ | | ✅ | ❌ | ❌ |
| [deathbycaptcha.com](http:https://deathbycaptcha.com) | ✅ | | ✅ | ❌ | ❌ |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enterprise reCAPTCHA v3 is not supported

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have solved this type of captchas, it does not have a very good percentage of success, but it does solve it.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Give me an example please

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants