lolcat 2 ani în urmă
părinte
comite
9b8e0a4e0b
2 a modificat fișierele cu 18 adăugiri și 2 ștergeri
  1. 1 1
      scraper/yt.php
  2. 17 1
      settings.php

+ 1 - 1
scraper/youtube.php → 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(){
 		

+ 17 - 1
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"