fix ddg returning weird reresults when no match is found
This commit is contained in:
parent
3f2bfcb8c7
commit
1e52982cb9
|
@ -525,6 +525,15 @@ class ddg{
|
||||||
|
|
||||||
if(isset($item["c"])){
|
if(isset($item["c"])){
|
||||||
|
|
||||||
|
if(
|
||||||
|
!isset($item["s"]) &&
|
||||||
|
isset($item["t"]) &&
|
||||||
|
$item["t"] == "DEEP_ERROR_NO_RESULTS"
|
||||||
|
){
|
||||||
|
|
||||||
|
return $out;
|
||||||
|
}
|
||||||
|
|
||||||
$table = [];
|
$table = [];
|
||||||
|
|
||||||
// get youtube video information
|
// get youtube video information
|
||||||
|
|
Loading…
Reference in New Issue