소스 검색

remove deep_simple_no_results nag

lolcat 10 달 전
부모
커밋
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;