From 9b8e0a4e0b5e528f7cedbf44c23b0093e7a95d12 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sun, 21 Apr 2024 19:48:14 -0400 Subject: [PATCH] fuck --- scraper/{youtube.php => yt.php} | 2 +- settings.php | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) rename scraper/{youtube.php => yt.php} (99%) diff --git a/scraper/youtube.php b/scraper/yt.php similarity index 99% rename from scraper/youtube.php rename to scraper/yt.php index 526b026..668b8f5 100644 --- a/scraper/youtube.php +++ b/scraper/yt.php @@ -4,7 +4,7 @@ //header("Content-Type: application/json"); //echo json_encode($yt->video("minecraft", null, "today", "any", "any", "live", "relevance")); -class youtube{ +class yt{ public function __construct(){ diff --git a/settings.php b/settings.php index e467c81..662189c 100644 --- a/settings.php +++ b/settings.php @@ -121,6 +121,10 @@ $settings = [ "value" => "google", "text" => "Google" ], + [ + "value" => "qwant", + "text" => "Qwant" + ], [ "value" => "yep", "text" => "Yep" @@ -171,6 +175,10 @@ $settings = [ "value" => "google", "text" => "Google" ], + [ + "value" => "qwant", + "text" => "Qwant" + ], [ "value" => "yep", "text" => "Yep" @@ -212,7 +220,11 @@ $settings = [ [ "value" => "google", "text" => "Google" - ] + ], + [ + "value" => "qwant", + "text" => "Qwant" + ], ] ], [ @@ -231,6 +243,10 @@ $settings = [ "value" => "google", "text" => "Google" ], + [ + "value" => "qwant", + "text" => "Qwant" + ], [ "value" => "yep", "text" => "Yep"