Fix warning in foogle scraper

dcf5901809
This commit is contained in:
Bakhai Support 2025-08-26 19:27:05 +05:30
commit 0d29b61bb3

View file

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