I'am getting all the content of the page, but after $dom->loadHTML($data)
:
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: input conversion failed due to input error, bytes 0x98 0xD0 0xBD 0xD0 in test.php on line 10
How to ignore malformed html to not remove it? because I miss some neccesary tags