E
E
Elios2015-05-05 18:01:27
PHP
Elios, 2015-05-05 18:01:27

How to use cURL to get the result of an ajax request?

I am writing a parser for the site, I need to get the content, the content on the page appears after it is loaded via ajax with an empty request
6d557f3a7b55433e9175474e21051d1c.png
I access this page directly via cURL with a POST request and cookies, but I get this page without Ajax data

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
He11ion, 2015-05-05
@He11ion

There are two options - a direct request to ajax or a more advanced parser with js support

O
Optimus, 2015-05-05
Pyan @marrk2

Most often, cURL is powerless in these cases, it was correctly said above that a JS parser is needed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question