diff options
| author | lolcat <will@lolcat.ca> | 2025-04-19 10:37:35 -0400 |
|---|---|---|
| committer | lolcat <will@lolcat.ca> | 2025-04-19 10:37:35 -0400 |
| commit | b85820cbcdde6c0cc64036546ab4c483ed857e3a (patch) | |
| tree | 51fa3d44b078e75b312d6306c307ec35b234210b /scraper/ddg.php | |
| parent | 4b85841a3e3485874e1b58dd9c839528e1293782 (diff) | |
hopefully this fixes bing images my fucking god
Diffstat (limited to 'scraper/ddg.php')
| -rw-r--r-- | scraper/ddg.php | 2 |
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){ |
