From 61deefb75bdaf5e940eefffdd85f058e370623bb Mon Sep 17 00:00:00 2001 From: lolcat Date: Sun, 28 Sep 2025 15:27:07 -0400 Subject: [PATCH] fucking operators are blocked too --- scraper/ddg.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scraper/ddg.php b/scraper/ddg.php index d5c4a38..af96465 100644 --- a/scraper/ddg.php +++ b/scraper/ddg.php @@ -370,7 +370,10 @@ class ddg{ }else{ // we have $get["s"] - if(strpos($get["s"], "\"") !== false){ + if( + strpos($get["s"], "\"") !== false || // contains quotes + strpos($get["s"], ":") !== false // contains potential site: operator or whatever the fuck + ){ return $this->web_html($get); }