NeuroCaptcha

Tipo di task

GeeTest v4

GeeTestTaskProxylessV4senza 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
typestringobbligatorioGeeTestTaskProxylessV4
websiteURLstringobbligatorioURL completo della pagina con il captcha.
captchaIdstringobbligatorioId del captcha: captcha_id di GeeTest v4 o l'id Lemin CROPPED_….
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": "GeeTestTaskProxylessV4",
        "websiteURL": "https://example.com/login",
        "captchaId": "e392e1d7fd421dc63325744d5a2b9c73",
    },
}).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