fixed API bug

This commit is contained in:
lolcat 2023-10-16 19:45:11 -04:00
parent f67fadfa88
commit 453b4310e2
5 changed files with 10 additions and 6 deletions

View File

@ -11,7 +11,8 @@ $frontend = new frontend();
Captcha Captcha
*/ */
include "lib/captcha_gen.php"; include "lib/captcha_gen.php";
new captcha($frontend, false); $null = null;
new captcha($null, $null, $null, "images", false);
[$scraper, $filters] = $frontend->getscraperfilters( [$scraper, $filters] = $frontend->getscraperfilters(
"images", "images",

View File

@ -10,9 +10,9 @@ $frontend = new frontend();
/* /*
Captcha Captcha
*/ */
$null = null;
include "lib/captcha_gen.php"; include "lib/captcha_gen.php";
new captcha($null, $null, $null, $null, false); $null = null;
new captcha($null, $null, $null, "music", false);
[$scraper, $filters] = $frontend->getscraperfilters( [$scraper, $filters] = $frontend->getscraperfilters(
"music", "music",

View File

@ -11,7 +11,8 @@ $frontend = new frontend();
Captcha Captcha
*/ */
include "lib/captcha_gen.php"; include "lib/captcha_gen.php";
new captcha($frontend, false); $null = null;
new captcha($null, $null, $null, "news", false);
[$scraper, $filters] = $frontend->getscraperfilters( [$scraper, $filters] = $frontend->getscraperfilters(
"news", "news",

View File

@ -11,7 +11,8 @@ $frontend = new frontend();
Captcha Captcha
*/ */
include "lib/captcha_gen.php"; include "lib/captcha_gen.php";
new captcha($frontend, false); $null = null;
new captcha($null, $null, $null, "videos", false);
[$scraper, $filters] = $frontend->getscraperfilters( [$scraper, $filters] = $frontend->getscraperfilters(
"videos", "videos",

View File

@ -11,7 +11,8 @@ $frontend = new frontend();
Captcha Captcha
*/ */
include "lib/captcha_gen.php"; include "lib/captcha_gen.php";
new captcha($frontend, false); $null = null;
new captcha($null, $null, $null, "web", false);
[$scraper, $filters] = $frontend->getscraperfilters( [$scraper, $filters] = $frontend->getscraperfilters(
"web", "web",