hcaptcha

hCaptcha是什么?

与reCAPTCHA v2类似,hCaptcha要求用户通过勾选复选框确认他们不是机器人。它可能还要求用户识别特定类别的图像。

hCaptcha Demo

最佳hCaptcha解决方案

Capsolver是绕过hCaptcha的最便宜和最快速的解决方案。

Capsolver使用基于人工智能的验证码解决算法,具有更快的解决速度和大幅降低的成本,为开发者提供出色的体验。

高度可靠

我们在同类供应商中拥有最快的更新速度。

没有风险

您只需支付已解决的验证码费用。严格的合作审查将禁止任何非法活动。

利用人工智能技术驱动

我们使用人工智能进行全自动验证码解决。

兼容性

Capsolver与常见的手动验证码识别服务的API兼容。

多样化解决方案

Capsolver提供API服务和Chrome扩展。

值得信赖

超过1000个平台已经集成了我们的API。

使用Capsolver解决验证码问题的方法如下:

在使用Capsolver服务后,当用户遇到验证码问题时,他们向Capsolver发送请求。收到相应验证码问题的请求后,Capsolver会高效快速地为用户解决验证码问题。

</> hCaptcha 解决方案API:

(在github上有更多第三方库)
解决方案价格
hCaptcha

HCaptchaTask

HCaptchaTaskProxyLess

$0.8/1000 requests
$0.2/1000 images

如何绕过hCaptcha-API指南

Capsolver自动验证码解决服务可以轻松绕过hCaptcha。Capsolver提供两种验证码解决服务,帮助您解决hCaptcha。

其中之一的服务是使用 Capsolver's API 另一个服务是在Chrome中下载 扩展程序 在Chrome中

注册 CapSolver并获取我们的验证码服务

Step 1 : Creating a Task

Use the method createTask to submit the required information:

POST https://api.capsolver.com/createTask
Host: api.capsolver.com
Content-Type: application/json

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "HCaptchaTaskProxyless",
    "websiteURL": "https://hcaptcha.com/",
    "websiteKey": "00000000-0000-0000-0000-000000000000"
    }
}

After you submit the task to us, you should receive in the response a ‘Task id’ if it’s successful. Please read errorCode: full list of errors if you didn’t receive the task id.

Example response:

{
  "errorId": 0,
  "errorCode": "",
  "errorDescription": "",
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}

Step 2 : Getting Results

To verify the results, you'll need to continuously poll the getTaskResult API endpoint until the captcha is resolved. Depending on the system load, you will get the results within the interval of 1s to 10s.

Example request:

POST https://api.capsolver.com/getTaskResult
Host: api.capsolver.com
Content-Type: application/json

{
  "clientKey": "YOUR_API_KEY",
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}

Example response:

{
  "errorId": 0,
  "errorCode": null,
  "errorDescription": null,
  "solution": {
    //userAgent used to solve the captcha
    "userAgent": "xxx",
    //expireTime of the token
    "expireTime": 1671615324290,
    "timestamp": 1671615024290,
    "captchaKey": "E0_xxx",
    //token of the captcha
    "gRecaptchaResponse": "3AHJ....."
  },
  "status": "ready"
}

使用Capsolver SDK解决hCaptcha

支持的常见验证码类型

轻松使用Capsolver绕过验证码

我们确保将我们的产品无缝集成到您的网络爬虫基础设施中。多语言支持和现成的代码示例,确保您的网络爬虫项目能够快速轻松地启动。

开发者文档

# pip install --upgrade capsolver
# export CAPSOLVER_API_KEY='...'

import capsolver

# capsolver.api_key = "..."
solution = capsolver.solve({
    "type": "HCaptchaTaskProxyLess",
    "websiteURL": "https://hcaptcha.com/",
    "websiteKey": "00000000-0000-0000-0000-000000000000",
})
package main

import (
    "fmt"
    capsolver_go "github.com/capsolver/capsolver-go"
    "log"
)

func main() {
    // first you need to install sdk
    //go get github.com/capsolver/capsolver-go
    //export CAPSOLVER_API_KEY='...' or
    //capSolver := CapSolver{ApiKey:"..."}

    capSolver := capsolver_go.CapSolver{}
    solution, err := capSolver.Solve(map[string]any{
        "type":       "HCaptchaTaskProxyLess",
        "websiteURL": "https://hcaptcha.com/",
        "websiteKey": "00000000-0000-0000-0000-000000000000",
    })
    if err != nil {
        log.Fatal(err)
        return
    }
    fmt.Println(solution)
}

如何绕过hCaptcha-拓展程序

Captcha Solving Extension supported in Chrome and Firefox browsers
我们的浏览器扩展允许您自动解决图像识别或光学字符识别(OCR)问题。

包括 reCAPTCHA v2、v3、hCaptcha、FunCaptcha、Cloudflare Turnstile、AWS WAF 等多种类型。

hCaptcha
reCAPTCHA
FunCaptcha
Cloudflare
Aws
More types

免费试用

识别其他15种验证码类型
I'M NOT A ROBOT