NeuroCaptcha

Tipo di task

GeeTest v3

GeeTestTaskProxylesssenza proxy

Si inviano i parametri della pagina e si riceve un token pronto all’uso, nello stesso formato di risposta di tutti gli altri tipi.

Senza proxy: risolviamo dalla nostra infrastruttura. Ideale quando il sito di destinazione non lega il token a un IP.

Prezzo

0,90 USDper 1000 task

0,0009 USD per task

Ottieni la chiave API

Metriche in tempo reale, 24 h

Le metriche in tempo reale per questo tipo compariranno sulla pagina di stato dopo il lancio.

Parametri del task

ParametroTipoobbligatorioParametri del task
typestringobbligatorioGeeTestTaskProxyless
websiteURLstringobbligatorioURL completo della pagina con il captcha.
gtstringobbligatoriogt di GeeTest: l'id pubblico del sito in initGeetest.
challengestringobbligatorioUn challenge GeeTest nuovo per questa attività.
userAgentstringfacoltativoUser-Agent con cui risolvere; usare lo stesso quando si invia il token.
cookiesstringfacoltativoCookie del sito di destinazione nel formato key1=value1; key2=value2.

Esempio

import time
import requests

API = "https://"
KEY = "YOUR_API_KEY"

# 1. create a task: the price is held, not charged
task = requests.post(f"{API}/createTask", json={
    "clientKey": KEY,
    "task": {
        "type": "GeeTestTaskProxyless",
        "websiteURL": "https://example.com/login",
        "gt": "81388ea1fc187e0c335c0a8907ff2625",
        "challenge": "2e2f0f65240058b683cb6ea21c303eea",
    },
}).json()
if task["errorId"]:
    raise RuntimeError(task["errorCode"])

# 2. poll the result (or pass "callbackUrl" and get a signed webhook)
while True:
    time.sleep(3)
    res = requests.post(f"{API}/getTaskResult",
                        json={"clientKey": KEY, "taskId": task["taskId"]}).json()
    if res["errorId"]:
        raise RuntimeError(res["errorCode"])
    if res["status"] == "ready":
        print(res["solution"])
        break

Altri tipi di task