NeuroCaptcha

작업 유형

ArvanCloud

ArvanCloudTask자체 프록시

페이지 파라미터를 보내면 다른 모든 유형과 같은 응답 형식으로 바로 쓸 수 있는 토큰을 받습니다.

자체 프록시: 전달한 프록시를 통해 해결하므로 토큰이 고객의 IP와 일치합니다. 프록시 인증 정보는 해결 후 삭제됩니다.

요금

US$1.201,000건당

건당 US$0.0012

API 키 발급

실시간 지표(24시간)

이 유형의 실시간 지표는 출시 후 상태 페이지에 표시됩니다.

작업 파라미터

파라미터타입필수작업 파라미터
typestring필수ArvanCloudTask
websiteURLstring필수캡차가 있는 페이지의 전체 URL.
userAgentstring선택해결에 사용할 User-Agent. 토큰을 제출할 때도 같은 값을 사용하세요.
cookiesstring선택대상 사이트의 쿠키(key1=value1; key2=value2 형식).
proxyTypestring필수http, socks4 또는 socks5.
proxyAddressstring필수프록시 IP 주소 또는 호스트(공인 주소만 가능).
proxyPortinteger필수프록시 포트.
proxyLoginstring선택프록시 로그인 ID(프록시 인증이 필요한 경우).
proxyPasswordstring선택프록시 비밀번호. 작업이 해결된 후 삭제됩니다.

예제

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": "ArvanCloudTask",
        "websiteURL": "https://example.com/",
        "proxyType": "http",
        "proxyAddress": "203.0.113.10",
        "proxyPort": 8080,
        "proxyLogin": "user",
        "proxyPassword": "pass",
    },
}).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

다른 작업 유형