Menu

RecaptchaV2EnterpriseTaskProxyless: bypassa Google Recaptcha V2 Enterprise senza proxy

Questo tipo di task serve a risolvere i Google Recaptcha Enterprise V2 dall'indirizzo IP del lavoratore.

È simile al RecaptchaV2TaskProxyless, tranne per il fatto che i task sono risolti tramite l'Enterprise API e assegnati ai lavoratori col punteggio di Recaptcha V3 più alto. Per ulteriori informazioni su Recaptcha Enterprise visita sezione di FAQ.

Recaptcha V2 funny example
Recaptcha V2 checkbox
Esempio di Recaptcha V2 Enterprise. A vedersi è identica alla versione non enterprise.

Oggetto del task

ProprietàTipoRichiestoScopo
typeStringaRecaptchaV2EnterpriseTaskProxyless
websiteURLStringaIndirizzo di una pagina bersaglio. Si può trovare ovunque nel sito, persino nell'area membri. I nostri lavoratori non vanno lì, ma ne simulano la visita.
websiteKeyStringaChiave del sito Recaptcha. Scopri come trovarla su questo articolo.
enterprisePayloadOggettoNoParametri aggiuntivi che devono essere passati al metodo "grecaptcha.enterprise.render" insieme con la sitekey. Un esempio di quello che dovresti cercare:
grecaptcha.enterprise.render("some-div-id", {
    sitekey: "6Lc_aCMTAAAAABx7u2N0D1XnVbI_v6ZdbM6rYf16",
    theme: "dark",
    s: "2JvUXHNTnZl1Jb6WEvbDyBMzrMTR7oQ78QRhBcG07rk9bpaAaE0LRq1ZeP5NYa0N...ugQA"
});
In questo esempio puoi notare il parametro "s" che non è con documentazione, ma è richiesto. Invialo all'API, così riprodurremo correttamente il widget Recaptcha con questo parametro.
apiDomainStringaNoUtilizzare questo parametro per inviare il nome del dominio da cui deve essere servito lo script Recaptcha. Può avere solo uno dei due valori: "www.google.com" o "www.recaptcha.net". Non utilizzare questo parametro se non si è consapevoli di ciò che si sta facendo.

Esempio di richiesta

Python
Javascript
PHP
Java
C#
bash
#pip3 install anticaptchaofficial

from anticaptchaofficial.recaptchav2enterpriseproxyless import *

solver = recaptchaV2EnterpriseProxyless()
solver.set_verbose(1)
solver.set_key("YOUR_API_KEY_HERE")
solver.set_website_url("https://website.com")
solver.set_website_key("YOUR_API_KEY_HERE")
# solver.set_enterprise_payload({"s": "sometoken"})

# Specify softId to earn 10% commission with your app.
# Get your softId here: https://anti-captcha.com/clients/tools/devcenter
solver.set_soft_id(0)

g_response = solver.solve_and_return_solution()
if g_response != 0:
    print("g-response: "+g_response)
else:
    print("task finished with error "+solver.error_code)

Oggetto soluzione task

ProprietàTipoScopo
gRecaptchaResponseStringaStringa di token richiesta per interagire col modulo di invio su un sito bersaglio.

Esempio di risposta

{
    "errorId":0,
    "status":"ready",
    "solution":
    {
        "gRecaptchaResponse":"3AHJ_VuvYIBNBW5yyv0zRYJ75VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3"
    },
    "cost":"0.001500",
    "ip":"46.98.54.221",
    "createTime":1472205564,
    "endTime":1472205570,
    "solveCount":"0"
}