flyCaptcha

GRATIS CON POSSIBILITÀ DI UPGRADE
Da reversecoders | Aggiornamento לפני שעתיים | Social
Popolarità

9.9 / 10

Latenza

639ms

Livello di servizio

100%

Health Check

100%

Torna a tutte le discussioni

Python Selenium

Rapid account: Firmanireng 18
firmanireng18
לפני 4 חודשים

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 לפני 4 חודשים

Wow thank u sir. It work

Rapid account: Reversecoders
reversecoders Commented לפני 4 חודשים

Hello sir,

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

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti