flyCaptcha

FREEMIUM
Por reversecoders | Actualizada hace 8 horas | Social
Popularidad

9.9 / 10

Latencia

639ms

Nivel de servicio

100%

Health Check

100%

Volver a todas las conversaciones

Python Selenium

Rapid account: Firmanireng 18
firmanireng18
hace 4 meses

Hi, how can I implement this API trough selenium?

this is my code

img_src = driver.find_element(By.XPATH, ‘//img[contains(@data-testid,“whirl-outer-img”)]’)
img1 = img_src.get_attribute(“src”)

img_src = driver.find_element(By.XPATH, ‘//img[contains(@data-testid,“whirl-inner-img”)]’)
img2 = img_src.get_attribute(“src”)

import request

url = “https://flycaptcha.p.rapidapi.com/captcha/tiktok/slide

payload = {
“url1”: img1,
“url2”: img2,
“proxy”: “”
}
headers = {
“content-type”: “application/json”,
“X-RapidAPI-Key”: “911nap2a1fikux09c51sb23m1c30p198916jsn244fc77785fb1”,
“X-RapidAPI-Host”: “flycaptcha.p.rapidapi.com
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())

And this is the output

{“x”: 0, “y”: 136}
[Finished in 29.5s]

i tried find X and Y value by inspect element by nothing is found or my be can you tell me what is next steps please?

Rapid account: Firmanireng 18
firmanireng18 Commented hace 4 meses

Wow thank u sir. It work

Rapid account: Reversecoders
reversecoders Commented hace 4 meses

Hello sir,

you can find the example code at https://gitlab.com/reversecoders/flycaptcha

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios