From 5419d8afa5ee9e4a583c4d795e4a5e40baf0fdb6 Mon Sep 17 00:00:00 2001 From: lolcat Date: Thu, 15 Oct 2026 01:16:06 -0400 Subject: [PATCH] google softcaptcha fix, again --- scraper/google.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scraper/google.php b/scraper/google.php index 5a6d3b6..47e2839 100644 --- a/scraper/google.php +++ b/scraper/google.php @@ -873,7 +873,6 @@ class google{ $html = &$data["data"]; $container = &$data["container"]; - //file_put_contents("scraper/google-jp.html", $html); //$html = file_get_contents("scraper/google.html"); //$container = ""; @@ -3053,8 +3052,8 @@ class google{ if( str_contains( - $this->fuckhtml->getloadedhtml(), - "Google" + str_replace(" ", "", $this->fuckhtml->getloadedhtml()), + "setTimeout(function(){if(spinner){spinner.style.visibility='hidden';}" ) && preg_match( '/var eid ?= ?\'([^\']*)\'/', @@ -3067,7 +3066,7 @@ class google{ return [ "sei" => $matches[1], - "timeout" => (int)$matches[2] // set to 10000 usually + "timeout" => 10000 // set to 10000 usually ]; } }