NeuroCaptcha

टास्क का प्रकार

ARCaptcha

ARCaptchaTaskProxylessबिना प्रॉक्सी

पेज के पैरामीटर भेजें और बाकी सभी प्रकारों जैसे ही रिस्पॉन्स फ़ॉर्मैट में इस्तेमाल के लिए तैयार टोकन पाएँ।

बिना प्रॉक्सी: हम अपने इन्फ़्रास्ट्रक्चर से हल करते हैं। तब सबसे अच्छा, जब लक्षित साइट टोकन को IP से नहीं बाँधती।

कीमत

$1.20प्रति 1,000 टास्क

$0.0012 प्रति टास्क

API कुंजी पाएँ

लाइव मेट्रिक्स, 24 घंटे

इस प्रकार के लाइव मेट्रिक्स लॉन्च के बाद स्टेटस पेज पर दिखेंगे।

टास्क पैरामीटर

पैरामीटरटाइपज़रूरीटास्क पैरामीटर
typestringज़रूरीARCaptchaTaskProxyless
websiteURLstringज़रूरीकैप्चा वाले पेज का पूरा URL।
websiteKeystringज़रूरीसाइट कुंजी (data-sitekey या anchor अनुरोध का k पैरामीटर)।
userAgentstringवैकल्पिकहल करने के लिए User-Agent; टोकन सबमिट करते समय भी यही इस्तेमाल करें।
cookiesstringवैकल्पिकलक्षित साइट की कुकीज़, key1=value1; key2=value2 फ़ॉर्मैट में।

उदाहरण

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": "ARCaptchaTaskProxyless",
        "websiteURL": "https://example.com/login",
        "websiteKey": "YOUR_SITE_KEY",
    },
}).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"]["token"])
        break

दूसरे टास्क प्रकार