diff options
author | lolcat <will@lolcat.ca> | 2023-10-16 02:30:43 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2023-10-16 02:30:43 -0400 |
commit | 3aa01807741ffad103b9f6a74d878e58f2e828e8 (patch) | |
tree | a06816e71b059d96b5e08f9d304cbc3818e85b48 /api/v1/ac.php | |
parent | fa9dc4d6efc593b7301229c18b058d90024c939e (diff) |
captcha and imgur, findthatmeme, yep imagesearch
Diffstat (limited to 'api/v1/ac.php')
-rw-r--r-- | api/v1/ac.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/v1/ac.php b/api/v1/ac.php index 0964fd9..3ee1481 100644 --- a/api/v1/ac.php +++ b/api/v1/ac.php @@ -17,7 +17,7 @@ class autocomplete{ "yep" => "https://api.yep.com/ac/?query={searchTerms}", "marginalia" => "https://search.marginalia.nu/suggest/?partial={searchTerms}", "yt" => "https://suggestqueries-clients6.youtube.com/complete/search?client=youtube&q={searchTerms}", - "sc" => "https://api-v2.soundcloud.com/search/queries?q={searchTerms}&client_id=iMxZgT5mfGstBj8GWJbYMvpzelS8ne0E&limit=10&offset=0&linked_partitioning=1&app_version=1693487844&app_locale=en" + "sc" => "https://api-v2.soundcloud.com/search/queries?q={searchTerms}&client_id=ArYppSEotE3YiXCO4Nsgid2LLqJutiww&limit=10&offset=0&linked_partitioning=1&app_version=1693487844&app_locale=en" ]; /* @@ -100,7 +100,7 @@ class autocomplete{ foreach($js[1] as $item){ - $json[] = strip_tags($item[0]); + $json[] = htmlspecialchars_decode(strip_tags($item[0])); } echo json_encode( |