diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/v1/images.php | 3 | ||||
-rw-r--r-- | api/v1/news.php | 3 | ||||
-rw-r--r-- | api/v1/videos.php | 3 | ||||
-rw-r--r-- | api/v1/web.php | 3 |
4 files changed, 8 insertions, 4 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){ diff --git a/api/v1/news.php b/api/v1/news.php index 7e24247..775ef94 100644 --- a/api/v1/news.php +++ b/api/v1/news.php @@ -16,7 +16,8 @@ $get = $frontend->parsegetfilters($_GET, $filters); try{ echo json_encode( - $scraper->news($get) + $scraper->news($get), + JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES ); }catch(Exception $e){ diff --git a/api/v1/videos.php b/api/v1/videos.php index 60c105a..225611a 100644 --- a/api/v1/videos.php +++ b/api/v1/videos.php @@ -16,7 +16,8 @@ $get = $frontend->parsegetfilters($_GET, $filters); try{ echo json_encode( - $scraper->video($get) + $scraper->video($get), + JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES ); }catch(Exception $e){ 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){ |