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