diff options
author | lolcat <will@lolcat.ca> | 2023-11-27 01:01:56 -0500 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2023-11-27 01:01:56 -0500 |
commit | 2519666e1c831f85836f9ce6d975d3ceb975c09d (patch) | |
tree | 86c68604aff9c7a0a430e70ef082195a4c3a717f /api/v1 | |
parent | 9fd993b47b8c1b6e3c9d9f0e8d43a85860230f59 (diff) |
google web, videos and news, various other fixes
Diffstat (limited to 'api/v1')
-rw-r--r-- | api/v1/web.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/api/v1/web.php b/api/v1/web.php index dc1a7cc..156e53e 100644 --- a/api/v1/web.php +++ b/api/v1/web.php @@ -39,10 +39,12 @@ if( } try{ - echo json_encode( - $scraper->web($get), - JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES - ); + + echo + json_encode( + $scraper->web($get), + JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES + ); }catch(Exception $e){ |