Answer the question
In order to leave comments, you need to log in
Why doesn't simple_html_dom parse the site and save it to a file_get_html object?
Good afternoon,
I use the simple_html_dom library for all sorts of experiments, it was not possible to parse the site https://www.1xbet.com/line/
Previously, it was parsed:
$html = file_get_html('https://www.1xbet.com/line/');
Received a healthy object. And it was possible to access any node of the DOM tree. In addition to those generated by Ajax and JSAnswer the question
In order to leave comments, you need to log in
The only solution in this case is to download the content of the page via curl https://www.1xbet.com/line/ , check the response code 200 and there is content.
If there is, then convert it to a house, via str_get_html.
PS This site doesn't even load from my browser at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question