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
*/
include "lib/captcha_gen.php";
new captcha($frontend, false);
$null = null;
new captcha($null, $null, $null, "images", false);
[$scraper, $filters] = $frontend->getscraperfilters(
"images",

View file

@ -10,9 +10,9 @@ $frontend = new frontend();
/*
Captcha
*/
$null = null;
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(
"music",

View file

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

View file

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

View file

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