fix warning in goolag scraper
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user