diff options
-rw-r--r-- | scraper/yt.php (renamed from scraper/youtube.php) | 2 | ||||
-rw-r--r-- | settings.php | 18 |
2 files changed, 18 insertions, 2 deletions
diff --git a/scraper/youtube.php b/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 @@ -122,6 +122,10 @@ $settings = [ "text" => "Google" ], [ + "value" => "qwant", + "text" => "Qwant" + ], + [ "value" => "yep", "text" => "Yep" ], @@ -172,6 +176,10 @@ $settings = [ "text" => "Google" ], [ + "value" => "qwant", + "text" => "Qwant" + ], + [ "value" => "yep", "text" => "Yep" ], @@ -212,7 +220,11 @@ $settings = [ [ "value" => "google", "text" => "Google" - ] + ], + [ + "value" => "qwant", + "text" => "Qwant" + ], ] ], [ @@ -232,6 +244,10 @@ $settings = [ "text" => "Google" ], [ + "value" => "qwant", + "text" => "Qwant" + ], + [ "value" => "yep", "text" => "Yep" ], |