NeuroCaptcha

Jenis tugas

Lemin

LeminTaskProxylesstanpa proxy

Kirim parameter halaman, lalu terima token siap pakai dalam format respons yang sama seperti jenis lainnya.

Tanpa proxy: kami menyelesaikan dari infrastruktur kami sendiri. Paling cocok jika situs target tidak mengikat token ke IP.

Harga

US$1,20per 1.000 tugas

US$0,0012 per tugas

Dapatkan kunci API

Metrik langsung, 24 jam

Metrik langsung untuk jenis ini akan muncul di halaman status setelah peluncuran.

Parameter tugas

ParameterTipewajibParameter tugas
typestringwajibLeminTaskProxyless
websiteURLstringwajibURL lengkap halaman yang berisi captcha.
captchaIdstringwajibId captcha: captcha_id GeeTest v4 atau id Lemin CROPPED_….
userAgentstringopsionalUser-Agent yang dipakai untuk penyelesaian; gunakan yang sama saat mengirim token.
cookiesstringopsionalCookie untuk situs target dalam format key1=value1; key2=value2.

Contoh

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": "LeminTaskProxyless",
        "websiteURL": "https://example.com/login",
        "captchaId": "CROPPED_3dfdd5c_d1872b526b794d83ba3b365eb15a200b",
    },
}).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

Jenis tugas lainnya