<?php $doc = new DOMDocument; // We don't want to bother with white spaces $doc->preserveWhiteSpace = false; // Most HTML Developers are chimps and produce invalid markup... $doc->strictErrorChecking = false; $doc->recover = true; $doc->loadHTMLFile('https://rbx.trade/i/mbstf'); $xpath = new DOMXPath($doc); $query = "//a[@class='title']"; $entries = $xpath->query($query); var_dump($entries->item(0)->textContent); ?>
You have javascript disabled. You will not be able to edit any code.