Explorar o código

remove deep_simple_no_results nag

lolcat hai 10 meses
pai
achega
0c90c4bc9e
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      scraper/ddg.php

+ 4 - 1
scraper/ddg.php

@@ -528,7 +528,10 @@ class ddg{
 				if(
 					!isset($item["s"]) &&
 					isset($item["t"]) &&
-					$item["t"] == "DEEP_ERROR_NO_RESULTS"
+					(
+						$item["t"] == "DEEP_ERROR_NO_RESULTS" ||
+						$item["t"] == "DEEP_SIMPLE_NO_RESULTS"
+					)
 				){
 					
 					return $out;