parent
af4bfbd0cd
commit
2b103fc472
1 changed files with 7 additions and 1 deletions
|
|
@ -679,6 +679,12 @@ class ddg{
|
||||||
|
|
||||||
$this->fuckhtml->load($result);
|
$this->fuckhtml->load($result);
|
||||||
|
|
||||||
|
if(stripos($result["attributes"]["class"], "result--ad") !== false){
|
||||||
|
|
||||||
|
// found an ad
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$title =
|
$title =
|
||||||
$this->fuckhtml
|
$this->fuckhtml
|
||||||
->getElementsByTagName(
|
->getElementsByTagName(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue