Join And Get Free Trial!

reCAPTCHA Mobile Task#


基于Token的reCAPTCHA Mobile自动求解方法。 绕过 reCAPTCHA Android/reCAPTCHA IOS API。reCAPTCHA Android 求解器 API 文档。reCAPTCHA IOS 求解器 API 文档
然后,可以将接收到的令牌通过 g-recaptcha-response 表单字段发送到目标网站,或传递给回调函数。

RecaptchaMobileTask 任务对象结构#

名称类型必须使用的描述
type字符串是的RecaptchaMobileTask
appPackageName字符串是的加载 reCAPTCHA 应用程序的包名称。例如 com.company.app,你可以在 https://www.google.com/recaptcha/api3/mwv请求中获取
appKey字符串是的加载 reCAPTCHA 应用程序的密钥,和网页版的websiteKey类似
appAction字符串是的额外的参数,你可以搜索 grecaptcha.execute 找到action参数
appDevice字符串ios | Android
proxyType字符串是的代理类型:`http`、`socks4`、`socks5`
proxyAddress字符串是的代理服务器 IP 地址或主机名
proxyPort整数是的代理端口
proxyLogin字符串代理登录名
proxyPassword字符串代理密码

请求示例#

API 端点: https://api.nextcaptcha.com/createTask

方法: POST

内容类型: application/json

{
    "clientKey":"api key",
    "task": {
        "type":"ReCaptchaMobileTask",
        "appPackageName":"com.company.app",
        "appKey":"6LfD3PIbAAAAAJs_eEHvoOl75_83eXSqpPSRFJ_u",
        "appAction":"login"
    }
}

响应示例#

{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "gRecaptchaResponse": "03AGdBq26gJ8v3Z3J9z3..."
  },
  "createTime": 1701234567890,
  "endTime": 1701234567890
}

示例代码#

# https://github.com/nextcaptcha/nextcaptcha-python
 
import os
import sys
from nextcaptcha import NextCaptchaAPI
 
client_key = os.getenv('NEXTCAPTCHA_KEY', "YOUR_CLIENT_KEY")
 
api = NextCaptchaAPI(client_key=client_key)
try:
  result = api.recaptcha_mobile(app_key="app_key", app_package_name="app_package_name", appAction="appAction")
 
except Exception as e:
  sys.exit(e)
 
else:
  sys.exit('solved: ' + str(result))
 

相关链接#