$readability = new \andreskrey\Readability\Readability((new \andreskrey\Readability\Configuration())
->setFixRelativeURLs(true)
->setOriginalURL('https://stayglam.com/life/sexy-tattoos/'));
$html = file_get_contents('https://stayglam.com/life/sexy-tattoos/');
try {
$readability->parse($html);
//$data = $readability->getImages();
//var_dump($data);
echo $readability;
}
catch (\andreskrey\Readability\ParseException $e) {
echo sprintf('Error processing text: %s', $e->getMessage());
}