summaryrefslogtreecommitdiff
path: root/api/v1/images.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-08-08 03:09:47 -0400
committerlolcat <will@lolcat.ca>2023-08-08 03:09:47 -0400
commit4559857380317d768ff8394db711eb5c894aa1f8 (patch)
tree2ed555b5ba104297642893ef5511d1d28f282842 /api/v1/images.php
parent7c771c82c8e03b337f9f03ae2d4afc25d3f0faca (diff)
added brave image+video support
Diffstat (limited to 'api/v1/images.php')
-rw-r--r--api/v1/images.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/v1/images.php b/api/v1/images.php
index e05ba26..694658e 100644
--- a/api/v1/images.php
+++ b/api/v1/images.php
@@ -16,7 +16,8 @@ $get = $frontend->parsegetfilters($_GET, $filters);
try{
echo json_encode(
- $scraper->image($get)
+ $scraper->image($get),
+ JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES
);
}catch(Exception $e){