1
0
Эх сурвалжийг харах

remove deep_simple_no_results nag

lolcat 10 сар өмнө
parent
commit
0c90c4bc9e
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  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;