Explorar el Código

dumbass moment

lolcat hace 2 semanas
padre
commit
28ba8422b2
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      scraper/google.php

+ 4 - 4
scraper/google.php

@@ -721,7 +721,7 @@ class google{
 				
 				$params["tbs"] = rtrim($params["tbs"], ",");
 			}
-			/*
+			
 			$data = $this->get(
 				$proxy,
 				"https://www.google.com/search",
@@ -730,11 +730,11 @@ class google{
 			);
 			
 			$html = &$data["data"];
-			$container = &$data["container"];*/
+			$container = &$data["container"];
 			
 			//file_put_contents("scraper/google-jp.html", $html);
-			$html = file_get_contents("scraper/dmca.html");
-			$container = "";
+			//$html = file_get_contents("scraper/dmca.html");
+			//$container = "";
 		}
 		
 		$out = [