From 8e2aafddf8bfa9b95fd3f9af6f9409590ff85a85 Mon Sep 17 00:00:00 2001 From: lolcat Date: Thu, 6 Aug 2026 00:48:51 -0400 Subject: [PATCH] detect google softcaptcha --- scraper/google.php | 46 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/scraper/google.php b/scraper/google.php index 49f575c..3a46c35 100644 --- a/scraper/google.php +++ b/scraper/google.php @@ -733,7 +733,7 @@ class google{ $container = &$data["container"]; //file_put_contents("scraper/google-jp.html", $html); - //$html = file_get_contents("scraper/google-jp.html"); + //$html = file_get_contents("scraper/google-softcaptcha.html"); } $out = [ @@ -754,9 +754,9 @@ class google{ $this->fuckhtml->load($html); - // init - $this->detect_sorry(); + // init $this->parsestyles(); + $this->detect_sorry(); $this->scrape_dimg($html); $this->scrape_imagearr($html); @@ -1381,6 +1381,9 @@ class google{ $this->fuckhtml->load($html); + // parse all