From d39b8ab875149635ed8262b65fd3164063cc4fc9 Mon Sep 17 00:00:00 2001 From: lolcat Date: Thu, 6 Aug 2026 01:48:50 -0400 Subject: [PATCH] bypass google softcaptcha for real this time fuuuuuuuuuuuuuuuuuuuuuuuuuck --- scraper/google.php | 51 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 15 deletions(-) diff --git a/scraper/google.php b/scraper/google.php index f25d695..2c995f8 100644 --- a/scraper/google.php +++ b/scraper/google.php @@ -523,7 +523,7 @@ class google{ config::FPLAY_EXTERNAL_ENDPOINT . "?url=" . urlencode($url) . "&pw=" . urlencode(config::FPLAY_PASSWORD) . - "&container=" . urlencode($container) . + "&container=" .// urlencode($container) . "&proxy=" . urlencode($proxy) . "&url_match=" . urlencode("&sei=") . "&fail_url_match=" . urlencode("\/sorry\/"); @@ -754,22 +754,24 @@ class google{ $this->fuckhtml->load($html); - // init - $this->parsestyles(); - // solve softcaptcha $softcaptcha = $this->detect_sorry(); - if($softcaptcha){ + if($softcaptcha !== false){ $params["sei"] = $softcaptcha["sei"]; - $data = $this->get( + $data2 = $this->get( $proxy, "https://www.google.com/search", $params, $container ); + + $html = &$data2["data"]; + + $this->fuckhtml->load($html); + $this->parsestyles(); } $this->scrape_dimg($html); @@ -1399,18 +1401,24 @@ class google{ // parse all