Compare commits
No commits in common. "f33f02e816cfdd2b717973772ece4df4b98ea9bb" and "3f2bfcb8c7740c93163806ad274aa802d1a7eab4" have entirely different histories.
f33f02e816
...
3f2bfcb8c7
@ -525,15 +525,6 @@ 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
|
||||
@ -1058,8 +1049,8 @@ class ddg{
|
||||
"description" => $description,
|
||||
"url" => $json["AbstractURL"],
|
||||
"thumb" =>
|
||||
(!isset($json["Image"]) || $json["Image"] == "" || $json["Image"] === null) ?
|
||||
null : "https://duckduckgo.com" . $json["Image"],
|
||||
(isset($json["Image"]) && $json["Image"]) !== null ?
|
||||
"https://duckduckgo.com" . $json["Image"] : null,
|
||||
"table" => $table,
|
||||
"sublink" => $sublinks
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user