diff --git a/api/v1/images.php b/api/v1/images.php index 474e2dd..34510b4 100644 --- a/api/v1/images.php +++ b/api/v1/images.php @@ -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", diff --git a/api/v1/music.php b/api/v1/music.php index 7512ac0..3c30953 100644 --- a/api/v1/music.php +++ b/api/v1/music.php @@ -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", diff --git a/api/v1/news.php b/api/v1/news.php index 97738fc..bd8678f 100644 --- a/api/v1/news.php +++ b/api/v1/news.php @@ -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", diff --git a/api/v1/videos.php b/api/v1/videos.php index 9277792..a42b29b 100644 --- a/api/v1/videos.php +++ b/api/v1/videos.php @@ -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", diff --git a/api/v1/web.php b/api/v1/web.php index c479149..61bf82a 100644 --- a/api/v1/web.php +++ b/api/v1/web.php @@ -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",