I'm trying to get a class from a news site, but I'm not getting it.
$titulo = $html->find('feed-post-body-title gui-color-primary gui-color-hover', 0)
->innertext;
echo $titulo;
You're giving this error:
Notice: Trying to get property of non-object
How do I get classes or ids?