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 possibility to wait for something in interactive recaptcha solving #4245

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

StefftheEmperor2
Copy link

Describe the changes

I wrote a local plugin for some site .. the problem is, it is heavily loading contents with ajax and recaptcha does not work. i added the possibility in the recaptcha script to wait for someting.

i then use it like this:

response = self.captcha.challenge(key=sitekey, data=html, version='2js', script_params={"wait_for": 'iframe', 'wait_for_target': 'div#g-recaptcha > div > div'})

@@ -42,57 +42,130 @@ class ReCaptcha(CaptchaService):
"cb636da134c24633f2b2b38f56dfbb92"

RECAPTCHA_INTERACTIVE_JS = """
Copy link
Author

Choose a reason for hiding this comment

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

TODO: Update the signature - i don't have the private key :-)

@StefftheEmperor2 StefftheEmperor2 changed the base branch from main to develop February 7, 2023 09:46
@GammaC0de
Copy link
Member

Hello,
First, sorry for so late.

In order to check this, can you please send me the use case for this (you can do it by mail if you do not want to do it publicly)?

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

Successfully merging this pull request may close these issues.

None yet

2 participants