From 80be23f7dfa5b57c7ba5b803dce5ad9c5344e676 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sat, 6 Jan 2024 19:43:54 -0500 Subject: [PATCH] ok see you in a month kek --- data/config.php | 16 +++++++++++----- settings.php | 8 ++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/data/config.php b/data/config.php index 0f14a42..5acc9ce 100644 --- a/data/config.php +++ b/data/config.php @@ -31,14 +31,18 @@ class config{ // @TODO: 2 = invite only (users needs a pass) const BOT_PROTECTION = 0; + // Maximal number of searches per captcha key/pass issued. Counter gets + // reset on every APCU cache clear (should happen once a day) + const MAX_SEARCHES = 100; + // if BOT_PROTECTION is set to 1, specify the available datasets here // images should be named from 1.png to X.png, and be 100x100 in size // Eg. data/captcha/birds/1.png up to 2263.png const CAPTCHA_DATASET = [ // example: - // ["birds", 2263], - // ["fumo_plushies", 1006], - // ["minecraft", 848] + //["birds", 2263], + //["fumo_plushies", 1006], + //["minecraft", 848] ]; // List of domains that point to your servers. Include your tor/i2p @@ -84,7 +88,9 @@ class config{ const PROXY_MARGINALIA = false; const PROXY_MOJEEK = false; const PROXY_SC = false; // soundcloud + const PROXY_SPOTIFY = false; const PROXY_WIBY = false; + const PROXY_CURLIE = false; const PROXY_YT = false; // youtube const PROXY_YEP = false; const PROXY_PINTEREST = false; @@ -101,8 +107,8 @@ class config{ // SOUNDCLOUD // Get these parameters by making a search on soundcloud with network // tab open, then filter URLs using "search?q=". (No need to login) - const SC_USER_ID = "143860-454480-469473-289775"; - const SC_CLIENT_TOKEN = "qwfvRfz8PCoa2NldZALK7hhZFIH24Wyx"; + const SC_USER_ID = "119817-879192-49172-644216"; + const SC_CLIENT_TOKEN = "Hd4akujkPoaPv8SOUw6sqAySNno8EM7b"; // MARGINALIA // Get an API key by contacting the Marginalia.nu maintainer. The "public" key diff --git a/settings.php b/settings.php index 3d8c657..962cdff 100644 --- a/settings.php +++ b/settings.php @@ -136,6 +136,10 @@ $settings = [ [ "value" => "wiby", "text" => "wiby" + ], + [ + "value" => "curlie", + "text" => "Curlie" ] ] ], @@ -236,6 +240,10 @@ $settings = [ [ "value" => "sc", "text" => "SoundCloud" + ], + [ + "value" => "spotify", + "text" => "Spotify" ] ] ]