filter ads from the html endpoint

This commit is contained in:
2025-09-30 19:56:30 -04:00
parent 61deefb75b
commit 4b16fd5897

View File

@@ -679,6 +679,12 @@ class ddg{
$this->fuckhtml->load($result);
if(stripos($result["attributes"]["class"], "result--ad") !== false){
// found an ad
continue;
}
$title =
$this->fuckhtml
->getElementsByTagName(