aboutsummaryrefslogtreecommitdiffstats
path: root/scraper/ddg.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2025-04-19 10:37:35 -0400
committerlolcat <will@lolcat.ca>2025-04-19 10:37:35 -0400
commitb85820cbcdde6c0cc64036546ab4c483ed857e3a (patch)
tree51fa3d44b078e75b312d6306c307ec35b234210b /scraper/ddg.php
parent4b85841a3e3485874e1b58dd9c839528e1293782 (diff)
hopefully this fixes bing images my fucking god
Diffstat (limited to 'scraper/ddg.php')
-rw-r--r--scraper/ddg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scraper/ddg.php b/scraper/ddg.php
index 2729028..7e7fc82 100644
--- a/scraper/ddg.php
+++ b/scraper/ddg.php
@@ -1969,7 +1969,7 @@ class ddg{
$id = $id[1];
}
- return "https://" . $image["host"] . "/th/id/" . $id;
+ return "https://" . $image["host"] . "/th?id=" . rawurlencode($id);
}
private function bingratio($width, $height){
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage