RecaptchaV2EnterpriseTask: แก้ Google Recaptcha V2 Enterprise โดยใช้พร็อกซี่
งานประเภทนี้สำหรับการแก้ Google Recaptcha Enterprise V2 ผ่านพร็อกซี่ที่ให้มา
ส่วนใหญ่จะคล้ายกับ RecaptchaV2Task ยกเว้นงานจะแก้โดยใช้ Enterprise API และมอบหมายให้กับคนงานที่มีคะแนน Recaptcha V3 ดีที่สุด สำหรับข้อมูลเพิ่มเติมเกี่ยวกับ Recaptcha Enterprise โปรดไปที่ส่วนคำถามที่พบบ่อย


ตัวอย่าง Recaptcha V2 Enterprise การมองเห็นจะเหมือนกับเวอร์ชัน non-enterprise
อ็อบเจ็กต์งาน
คุณสมบัติ | ประเภท | จำเป็น | วัตถุประสงค์ |
---|---|---|---|
type | สตริง | ใช่ | RecaptchaV2EnterpriseTask |
websiteURL | สตริง | ใช่ | ที่อยู่ของหน้าเว็บเป้าหมายสามารถอยู่ที่ใดก็ได้ในเว็บไซต์ แม้ในพื้นที่สมาชิก คนงานของเราไม่ได้ไปยังที่นั่น แต่จะจำลองการเข้าชมแทน |
websiteKey | สตริง | ใช่ | รหัสเว็บไซต์ Recaptcha เรียนรู้วิธีค้นหาในบทความนี้ |
enterprisePayload | อ็อบเจ็กต์ | ไม่ | พารามิเตอร์เพิ่มเติมที่ควรส่งไปยังเมธอด "grecaptcha.enterprise.render" พร้อมกับ sitekey ตัวอย่างสิ่งที่คุณควรค้นหา: grecaptcha.enterprise.render("some-div-id", {
sitekey: "6Lc_aCMTAAAAABx7u2N0D1XnVbI_v6ZdbM6rYf16",
theme: "dark",
s: "2JvUXHNTnZl1Jb6WEvbDyBMzrMTR7oQ78QRhBcG07rk9bpaAaE0LRq1ZeP5NYa0N...ugQA"
}); |
apiDomain | สตริง | ไม่ | ใช้พารามิเตอร์นี้เพื่อส่งชื่อโดเมนที่ควรใช้สคริปต์ Recaptcha สามารถมีค่าได้เพียงหนึ่งในสองค่า: "www.google.com" หรือ "www.recaptcha.net" อย่าใช้พารามิเตอร์นี้เว้นแต่คุณจะเข้าใจว่าคุณกำลังทำอะไรอยู่ |
proxyType | สตริง | ใช่ | ประเภทของพร็อกซี่ http - พร็อกซี่ http/https ทั่วไป socks4 - พร็อกซี่ socks4 socks5 - พร็อกซี่ socks5 |
proxyAddress | สตริง | ใช่ | ที่อยู่ IP ของพร็อกซี่ ipv4/ipv6 ไม่มีชื่อโฮสต์หรือที่อยู่ IP จากเครือข่ายใกล้ๆ กัน |
proxyPort | จำนวนเต็ม | ใช่ | พอร์ตพร็อกซี่ |
proxyLogin | สตริง | ไม่ | ล็อกอินสำหรับพร็อกซี่ที่ต้องได้รับอนุญาต (พื้นฐาน) |
proxyPassword | สตริง | ไม่ | รหัสผ่านพร็อกซี่ |
userAgent | สตริง | ใช่ | User-Agent ของเบราว์เซอร์ที่ใช้ในการจำลอง คุณต้องใช้ลายเซ็นของเบราว์เซอร์รุ่นใหม่ ไม่เช่นนั้น Google จะขอให้คุณ "อัปเดตเบราว์เซอร์ของคุณ" |
cookies | สตริง | ไม่ | คุกกี้เพิ่มเติมที่เราควรใช้บนโดเมน Google |
ตัวอย่างคำขอ
Python
Javascript
PHP
Java
C#
bash
#pip3 install anticaptchaofficial
from anticaptchaofficial.recaptchav2enterpriseproxyon import *
solver = recaptchaV2EnterpriseProxyon()
solver.set_verbose(1)
solver.set_key("YOUR_API_KEY_HERE")
# solver.set_enterprise_payload({"s": "sometoken"})
solver.set_website_url("https://website.com")
solver.set_website_key("SITE_KEY")
solver.set_proxy_address("PROXY_ADDRESS")
solver.set_proxy_port(1234)
solver.set_proxy_login("proxylogin")
solver.set_proxy_password("proxypassword")
solver.set_user_agent("Mozilla/5.0")
solver.set_cookies("test=true")
# Specify softId to earn 10% commission with your app.
# Get your softId here: https://anti-captcha.com/clients/tools/devcenter
solver.set_soft_id(0)
g_response = solver.solve_and_return_solution()
if g_response != 0:
print("g-response: "+g_response)
else:
print("task finished with error "+solver.error_code)
อ็อบเจ็กต์โซลูชันงาน
คุณสมบัติ | ประเภท | วัตถุประสงค์ |
---|---|---|
gRecaptchaResponse | สตริง | สตริงโทเค็นที่จำเป็นสำหรับการโต้ตอบกับการส่งแบบฟอร์มบนเว็บไซต์เป้าหมาย |
ตัวอย่างการตอบกลับ
{
"errorId":0,
"status":"ready",
"solution":
{
"gRecaptchaResponse":"3AHJ_VuvYIBNBW5yyv0zRYJ75VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3"
},
"cost":"0.001500",
"ip":"46.98.54.221",
"createTime":1472205564,
"endTime":1472205570,
"solveCount":"0"
}