Answer the question
In order to leave comments, you need to log in
Why does habr behave incorrectly when parsing?
Using the library, I'm trying to parse the page from Habr, but it sometimes does not work, file_get_content gives a similar result
$url='http://habrahabr.ru/post/251871/';
$html = SimpleHTMLDom::file_get_html($url);
echo $html;die;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question