fix warning in goolag scraper

This commit is contained in:
2025-08-24 11:22:43 -04:00
parent aa9806300a
commit dcf5901809

View File

@@ -1804,11 +1804,15 @@ class google{
$this->fuckhtml
->getTextContent(
$fact
)
),
2
);
$table[trim(preg_replace('/\s+/', " ", $fact[0]))] =
trim(preg_replace('/\s+/', " ", $fact[1]));
if(count($fact) === 2){
$table[trim(preg_replace('/\s+/', " ", $fact[0]))] =
trim(preg_replace('/\s+/', " ", $fact[1]));
}
}
$this->fuckhtml->load($box);