Ver Fonte

why do you fucking do that naver

lolcat há 1 mês atrás
pai
commit
50349d2390
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      scraper/naver.php

+ 3 - 0
scraper/naver.php

@@ -599,6 +599,9 @@ class naver{
 		
 		foreach($json["items"] as $image){
 			
+			// why does it fucking do that
+			if($image["orgWidth"] === 0){ continue; }
+			
 			$out["image"][] = [
 				"title" => trim($image["title"], "."),
 				"source" => [