Menu

破解 Google Enterprise V3 谜题

由于 Enterprise V3 谜题几乎与非 Enterprise V3 谜题相同,因此我们决定通过普通 V3 任务对其予以支持。

Enterprise V3 谜题与非 Enterprise V3 谜题的区别:

  • 小组件代码通过“enterprise.js”(而不是“api.js”)加载
  • 用户得分通过调用“gracaptcha.enterprise.execute”(而不是“gracaptcha.execute”)重获

因此,要标记 Enterprise V3 任务,只须对非 Enterprise V3 谜题有效载荷添加标志 "isEnterprise": true 即可:

请求示例

Python
Javascript
Go
PHP
Java
C#
bash
#pip3 install anticaptchaofficial

from anticaptchaofficial.recaptchav3enterpriseproxyless import *

solver = recaptchaV3EnterpriseProxyless()
solver.set_verbose(1)
solver.set_key("YOUR_API_KEY_HERE")
solver.set_website_url("https://website.com")
solver.set_website_key("SITE_KEY")
solver.set_page_action("home_page")
solver.set_min_score(0.9)

# 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"
}