aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scraper/ddg.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/scraper/ddg.php b/scraper/ddg.php
index ad83b73..80bbadd 100644
--- a/scraper/ddg.php
+++ b/scraper/ddg.php
@@ -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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage