aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scraper/naver.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/scraper/naver.php b/scraper/naver.php
index 652241c..492488a 100644
--- a/scraper/naver.php
+++ b/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" => [
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage