summaryrefslogtreecommitdiff
path: root/api/v1/music.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-10-16 02:30:43 -0400
committerlolcat <will@lolcat.ca>2023-10-16 02:30:43 -0400
commit3aa01807741ffad103b9f6a74d878e58f2e828e8 (patch)
treea06816e71b059d96b5e08f9d304cbc3818e85b48 /api/v1/music.php
parentfa9dc4d6efc593b7301229c18b058d90024c939e (diff)
captcha and imgur, findthatmeme, yep imagesearch
Diffstat (limited to 'api/v1/music.php')
-rw-r--r--api/v1/music.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/api/v1/music.php b/api/v1/music.php
index faf2d96..7512ac0 100644
--- a/api/v1/music.php
+++ b/api/v1/music.php
@@ -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