Join And Get Free Trial!

RecaptchaV3TaskProxyless#


reCAPTCHA V3 için token tabanlı otomatik çözme yöntemi.
Alınan token daha sonra g-recaptcha-response form alanı içerisinde hedef web sitesine gönderilebilir veya bir geri çağırma fonksiyonuna geçirilebilir.

RecaptchaV3TaskProxyless Görev nesnesi yapısı#

isimtipGerekliTanım
typeSicimEvetRecaptchaV3TaskProxyless
websiteURLSicimEvetCaptcha'yı yüklemek için hedef sayfanın tam URL'si
websiteKeySicimEvetreCAPTCHA web sitesi anahtarı. Bu, reCAPTCHA div öğesinin data-sitekey özniteliğinde veya reCAPTHCHA API'sine yapılan bir isteğin k parametresinde bulunabilir.
pageActionSicimHAYIREk parametreler için, eylem parametrelerini bulmak üzere grecaptcha.execute'u arayabilirsiniz
apiDomainSicimHAYIRCaptcha'yı yüklemek için kullanılan alan adı: google.com veya recaptcha.net. Varsayılan: google.com
titleSicimHAYIRrecaptcha tetikleyici sayfa başlığı (konsolu açmak için f12'ye basın, sonra document.title girin)

Örnek talep#

API uç noktası: https://api.nextcaptcha.com/createTask

yöntem: POST

İçerik türü: application/json

{
    "clientKey":"api key",
    "task": {
        "type":"RecaptchaV3TaskProxyless",
        "websiteURL":"https://google.com",
        "websiteKey":"6LfD3PIbAAAAAJs_eEHvoOl75_83eXSqpPSRFJ_u",
        "pageAction":"login",
        "proxyType":"http",
        "proxyAddress":"your_proxy_address",
        "proxyPort":1234,
        "proxyLogin":"your_proxy_login",
         "proxyPassword":"your_proxy_password"
    }
}

Cevap örneği#

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

Örnek Kod#

# 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.recaptchav3(website_url="https://example.com", website_key="SITE_KEY")
 
except Exception as e:
  sys.exit(e)
 
else:
  sys.exit('solved: ' + str(result))

İlgili Bağlantılar#