Ver código fonte

remove deep_simple_no_results nag

lolcat 10 meses atrás
pai
commit
0c90c4bc9e
1 arquivos alterados com 4 adições e 1 exclusões
  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;