FunCaptchaTaskProxyLess#
Bypass di funCaptcha basato su token. Il metodo è molto simile a
reCAPTCHA V2 .
API per bypassare FunCaptcha senza passare attraverso un server proxy: metodo, esempi di codice
FunCaptchaTaskProxyless Struttura dell'oggetto compito#
nome tipo Necessario Descrizione type Corda SÌ FunCaptchaTaskProxyless
websiteURL Corda SÌ L'URL completo della pagina di destinazione in cui caricare il codice di verifica websitePublicKey Corda SÌ Chiave del sito Web FunCaptcha. Può essere trovato nell'attributo data-pkey dell'elemento div FunCaptcha data Corda NO data, puoi trovarlo nella funzione di inizializzazione di funCaptcha
Richiedi esempio#
Endpoint API: https://api.nextcaptcha.com/createTask
metodo: POST
Tipo di contenuto: application/json
{
"clientKey" : "api key" ,
"task" : {
"type" : "FunCaptchaTaskProxyless" ,
"websiteURL" : "https://example.com" ,
"websitePublicKey" : "1321AA23-3128-1B8A-9AA2-A25A21123A34" ,
"data" : "{ \" blob \" : \" lkjas13jasf23.azoiu21klzcasd12UaoSsf.... \" }"
}
}
Esempio di risposta#
{
"errorId" : 0 ,
"status" : "ready" ,
"solution" : {
"token" : "98017b84e6d33af83.1206263802|r=us-west-2|meta=3|meta_width=558|meta_height=523|metabgclr=transparent|metaiconclr=%23555555|guitextcolor=%23000000|lang=en|pk=2CB16598-CB82-4CF7-B332-5990DB66F3AB|at=40|ag=101|cdn_url=https%3A%2F%2Fclient-api.arkoselabs.com%2Fcdn%2Ffc|lurl=https%3A%2F%2Faudio-us-west-2.arkoselabs.com|surl=https%3A%2F%2Fclient-api.arkoselabs.com|smurl=https%3A%2F%2Fclient-api.arkoselabs.com%2Fcdn%2Ffc%2Fassets%2Fstyle-manager"
},
"createTime" : 1701234567890 ,
"endTime" : 1701234567890
}
Codice d'esempio#
# 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.funcaptcha( website_public_key = "WEBSITE_PUBLIC_KEY" )
except Exception as e:
sys.exit(e)
else :
sys.exit( 'solved: ' + str (result))
// https://github.com/nextcaptcha/nextcaptcha-go
package main
import (
" fmt "
" log "
" github.com/nextcaptcha/nextcaptcha-go "
)
func main () {
api := nextcaptcha. NewNextCaptchaAPI ( "API_KEY" )
result, err := api. FunCaptcha ( "WEBSITE_PUBLIC_KEY" , nextcaptcha . FunCaptchaOptions {})
if err != nil {
log. Fatal (err);
}
fmt. Println ( "result " + result)
}
// https://github.com/nextcaptcha/nextcaptcha-csharp
string clientKey = "YOUR_CLIENT_KEY" ;
string solftId = "" ; // Optional
string callbackUrl = "" ; // Optional
bool openLog = true ; // Optional
var nextCaptchaAPI = new NextCaptchaAPI (clientKey, solftId, callbackUrl, openLog);
string websitePublicKey = "YOUR_WEBSITE_PUBLIC_KEY" ;
string websiteUrl = "" ; // Optional
string data = "" ; // Optional
var result = await nextCaptchaAPI. SolveFunCaptchaAsync (websitePublicKey, websiteUrl, data);
Link correlati#