aboutsummaryrefslogtreecommitdiffstats
path: root/api/v1/web.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/web.php
parent7c771c82c8e03b337f9f03ae2d4afc25d3f0faca (diff)
added brave image+video support
Diffstat (limited to 'api/v1/web.php')
-rw-r--r--api/v1/web.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/v1/web.php b/api/v1/web.php
index 7895183..7f6d769 100644
--- a/api/v1/web.php
+++ b/api/v1/web.php
@@ -21,7 +21,8 @@ if(!isset($_GET["extendedsearch"])){
try{
echo json_encode(
- $scraper->web($get)
+ $scraper->web($get),
+ JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES
);
}catch(Exception $e){
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage