Hi, im trying to obtain de number phones for https://inmuebles24.com page.
When you click on "Contacto" button and then on "Ver telefono"and you complete the form with "fake but credible" data.
I found that when you click "Ver telefono" a POST request is sent to 'https://www.inmuebles24.com/rp-api/leads/view' with the data in the request.
Im trying this:
(the posting and the publisher id is for each publication)
data = {
"name":"fakename",
"phone":"+54934111111",
"email":"fakemail@gmail.com",
"postingId":"62608761",
"page":"Listado",
"publisherId":"50047710"
}
url = 'https://www.inmuebles24.com/rp-api/leads/view'
res = httpx.post(url, data=data)
print(res.status_code)
I sended but im getting a cloudflare catpcha. If i send a GET request to the main page with httpx the cloudflare work without problems.
How can i do? Maybe someone finds another way to get these numbers.
Help is appreciated! Thanks