W
W
Wayder2019-07-20 20:34:07
PHP
Wayder, 2019-07-20 20:34:07

How to parse applications from this site https://vstup.edbo.gov.ua/offer/538114/?

When parsing, curl does not see the statements, as they are loaded after the page is loaded.
What are the parsing options for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kotaro Hiba, 2019-07-21
@lina666

Damn on Ukrainian sites, as always, in general, if you use the html dom parser library, you
do this:

require_once 'dom.php';
$url = file_get_html('https://vstup.edbo.gov.ua/offer/538114/?');
$data = $url -> find('body', 0) -> children(0);
echo $data;

In general, we get the body and then, with the help of children, we get to the bottom of the desired element, I had a similar site /
Here's what I got in the end from the code:
So, by typing, look for the child element you need.
I just ran into the same problem :)5d33a325d486d925154713.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question