summaryrefslogtreecommitdiff
path: root/api/v1/videos.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-03-20 11:19:27 -0400
committerlolcat <will@lolcat.ca>2024-03-20 11:19:27 -0400
commitfaece63356c30a97c4615aa3eb533f12ebfe1e5a (patch)
treec131ac8ac2bb233da5479515bf6467c9150bd4db /api/v1/videos.php
parent697ef3733d7bf683d0725e5c375a4dbadeb82530 (diff)
fixed soundcloud, fixed API not working, upgraded browser UA
Diffstat (limited to 'api/v1/videos.php')
-rw-r--r--api/v1/videos.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/v1/videos.php b/api/v1/videos.php
index dab29af..c0a7507 100644
--- a/api/v1/videos.php
+++ b/api/v1/videos.php
@@ -16,9 +16,9 @@ $frontend = new frontend();
/*
Captcha
*/
-include "lib/captcha_gen.php";
+include "lib/bot_protection.php";
$null = null;
-new captcha($null, $null, $null, "videos", false);
+new bot_protection($null, $null, $null, "videos", false);
[$scraper, $filters] = $frontend->getscraperfilters(
"videos",