mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2026-01-07 11:15:44 -05:00
fix ddg returning weird reresults when no match is found
This commit is contained in:
parent
3f2bfcb8c7
commit
1e52982cb9
1 changed files with 9 additions and 0 deletions
|
|
@ -525,6 +525,15 @@ class ddg{
|
|||
|
||||
if(isset($item["c"])){
|
||||
|
||||
if(
|
||||
!isset($item["s"]) &&
|
||||
isset($item["t"]) &&
|
||||
$item["t"] == "DEEP_ERROR_NO_RESULTS"
|
||||
){
|
||||
|
||||
return $out;
|
||||
}
|
||||
|
||||
$table = [];
|
||||
|
||||
// get youtube video information
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue