captcha and imgur, findthatmeme, yep imagesearch
This commit is contained in:
parent
fa9dc4d6ef
commit
3aa0180774
26 changed files with 1710 additions and 63 deletions
|
@ -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(
|
||||
|
|
|
@ -7,6 +7,12 @@ chdir("../../");
|
|||
include "lib/frontend.php";
|
||||
$frontend = new frontend();
|
||||
|
||||
/*
|
||||
Captcha
|
||||
*/
|
||||
include "lib/captcha_gen.php";
|
||||
new captcha($frontend, false);
|
||||
|
||||
[$scraper, $filters] = $frontend->getscraperfilters(
|
||||
"images",
|
||||
isset($_GET["scraper"]) ? $_GET["scraper"] : null
|
||||
|
|
|
@ -7,6 +7,13 @@ chdir("../../");
|
|||
include "lib/frontend.php";
|
||||
$frontend = new frontend();
|
||||
|
||||
/*
|
||||
Captcha
|
||||
*/
|
||||
$null = null;
|
||||
include "lib/captcha_gen.php";
|
||||
new captcha($null, $null, $null, $null, false);
|
||||
|
||||
[$scraper, $filters] = $frontend->getscraperfilters(
|
||||
"music",
|
||||
isset($_GET["scraper"]) ? $_GET["scraper"] : null
|
||||
|
|
|
@ -7,6 +7,12 @@ chdir("../../");
|
|||
include "lib/frontend.php";
|
||||
$frontend = new frontend();
|
||||
|
||||
/*
|
||||
Captcha
|
||||
*/
|
||||
include "lib/captcha_gen.php";
|
||||
new captcha($frontend, false);
|
||||
|
||||
[$scraper, $filters] = $frontend->getscraperfilters(
|
||||
"news",
|
||||
isset($_GET["scraper"]) ? $_GET["scraper"] : null
|
||||
|
|
|
@ -7,6 +7,12 @@ chdir("../../");
|
|||
include "lib/frontend.php";
|
||||
$frontend = new frontend();
|
||||
|
||||
/*
|
||||
Captcha
|
||||
*/
|
||||
include "lib/captcha_gen.php";
|
||||
new captcha($frontend, false);
|
||||
|
||||
[$scraper, $filters] = $frontend->getscraperfilters(
|
||||
"videos",
|
||||
isset($_GET["scraper"]) ? $_GET["scraper"] : null
|
||||
|
|
|
@ -7,6 +7,12 @@ chdir("../../");
|
|||
include "lib/frontend.php";
|
||||
$frontend = new frontend();
|
||||
|
||||
/*
|
||||
Captcha
|
||||
*/
|
||||
include "lib/captcha_gen.php";
|
||||
new captcha($frontend, false);
|
||||
|
||||
[$scraper, $filters] = $frontend->getscraperfilters(
|
||||
"web",
|
||||
isset($_GET["scraper"]) ? $_GET["scraper"] : null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue