aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2026-06-01 02:53:48 -0400
committerPinapelz <yukais@pinapelz.com>2026-06-01 21:03:47 -0700
commit1d85f91666b0f43d886912c265294348ac385a84 (patch)
tree4bc5489d07af5d9c5b69fb42e8ead9e364b4d20a
parentc73c7096fccd231fe01ebe5dc13b7a3e4b71e839 (diff)
why do you fucking do that naver
-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