ประเภทงาน
reCAPTCHA v2 Enterprise
RecaptchaV2EnterpriseTaskพร็อกซีของคุณ
reCAPTCHA v2 คือช่องทำเครื่องหมาย “ฉันไม่ใช่โปรแกรมอัตโนมัติ” และรูปแบบที่มองไม่เห็น API จะส่งคืนโทเค็น gRecaptchaResponse ที่คุณส่งไปพร้อมฟอร์มของหน้าเว็บ
รูปแบบ Enterprise: เว็บไซต์โหลด enterprise.js และอาจส่งข้อมูลเพิ่มเติมใน enterprisePayload — ให้ส่งค่านั้นมาตามเดิม
ใช้พร็อกซีของคุณ: งานจะถูกแก้ผ่านพร็อกซีที่คุณส่งมา โทเค็นจึงตรงกับ IP ของคุณ ข้อมูลรับรองของพร็อกซีจะถูกลบหลังแก้เสร็จ
เมตริกแบบเรียลไทม์ (24 ชม.)
เมตริกแบบเรียลไทม์ของประเภทนี้จะแสดงบนหน้าสถานะหลังเปิดตัว
พารามิเตอร์ของงาน
| พารามิเตอร์ | ชนิด | จำเป็น | พารามิเตอร์ของงาน |
|---|---|---|---|
type | string | จำเป็น | RecaptchaV2EnterpriseTask |
websiteURL | string | จำเป็น | URL เต็มของหน้าที่มีแคปต์ชา |
websiteKey | string | จำเป็น | คีย์ของเว็บไซต์ (data-sitekey หรือพารามิเตอร์ k ของคำขอ anchor) |
isInvisible | boolean | ไม่บังคับ | true สำหรับ reCAPTCHA v2 แบบมองไม่เห็น (ไม่มีช่องทำเครื่องหมาย) |
recaptchaDataSValue | string | ไม่บังคับ | ค่า data-s หากหน้าเว็บใช้ (บริการบางตัวของ Google) |
enterprisePayload | object | ไม่บังคับ | พารามิเตอร์ Enterprise เพิ่มเติม เช่น s ในรูปแบบออบเจ็กต์ |
apiDomain | string | ไม่บังคับ | โดเมนที่ใช้โหลดวิดเจ็ต: google.com หรือ recaptcha.net |
userAgent | string | ไม่บังคับ | User-Agent ที่ใช้แก้ และใช้ค่าเดียวกันเมื่อส่งโทเค็น |
cookies | string | ไม่บังคับ | คุกกี้ของเว็บไซต์เป้าหมายในรูปแบบ key1=value1; key2=value2 |
proxyType | string | จำเป็น | http, socks4 หรือ socks5 |
proxyAddress | string | จำเป็น | ที่อยู่ IP หรือโฮสต์ของพร็อกซี (เฉพาะที่อยู่สาธารณะ) |
proxyPort | integer | จำเป็น | พอร์ตของพร็อกซี |
proxyLogin | string | ไม่บังคับ | ชื่อผู้ใช้พร็อกซี หากพร็อกซีต้องยืนยันสิทธิ์ |
proxyPassword | string | ไม่บังคับ | รหัสผ่านพร็อกซี จะถูกลบหลังแก้งานเสร็จ |
ตัวอย่าง
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": "RecaptchaV2EnterpriseTask",
"websiteURL": "https://example.com/login",
"websiteKey": "6Le-SITE-KEY",
"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"]["gRecaptchaResponse"])
break
ประเภทงานอื่น
- reCAPTCHA v2
RecaptchaV2TaskProxylessUS$0.60 - reCAPTCHA v2
RecaptchaV2TaskUS$0.60 - reCAPTCHA v2 Enterprise
RecaptchaV2EnterpriseTaskProxylessUS$1.50 - reCAPTCHA v3
RecaptchaV3TaskProxylessUS$0.90 - reCAPTCHA v3 Enterprise
RecaptchaV3EnterpriseTaskProxylessUS$2.00 - reCAPTCHA v3 Enterprise
RecaptchaV3EnterpriseTaskUS$2.00