ad-m / ad-m/python-anticaptcha

Multiple images selection Recaptcha

Offen
#91 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
230
Forks
53
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I've been trying to write an automation script but the reCaptcha in the webpage is the one that asks you to select multiple images and keeps refreshing them untill is none left. I've been executing this cmd on my script: ___grecaptcha_cfg.clients[0].S.S.callback('{token}')
because I saw this trick where you get the path to the callback function here on the forum. But the problem is, although the script is working untill this part, after I click the submit button the captcha says "Select all matching images". The function I'm using to get the token is this one:

def get_token(site_key, url):
from python_anticaptcha import AnticaptchaClient, NoCaptchaTaskProxylessTask

api_key = 'XXXX'
site_key = f'{site_key}' # grab from site
url = f'{url}'

client = AnticaptchaClient(api_key)
task = NoCaptchaTaskProxylessTask(url, site_key, is_invisible=True)
job = client.createTask(task)
job.join()
token = job.get_solution_response()
return token



I don't think it's nothing wrong with it because it's always returning some token, but do I have to do something extra for those kind of captchas?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.