From 9fcbeb052bff5f09276d75cf9b4c2ac9109375e2 Mon Sep 17 00:00:00 2001 From: lolcat Date: Wed, 6 Sep 2023 08:49:11 -0400 Subject: lol forgot that --- scraper/brave.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scraper/brave.php b/scraper/brave.php index 3a1c0ce..cb140f1 100644 --- a/scraper/brave.php +++ b/scraper/brave.php @@ -280,11 +280,11 @@ class brave{ $q["spellcheck"] = "0"; } } - + /* $handle = fopen("scraper/brave.html", "r"); $html = fread($handle, filesize("scraper/brave.html")); fclose($handle); - /* + */ try{ $html = $this->get( @@ -298,7 +298,7 @@ class brave{ throw new Exception("Could not fetch search page"); } - */ + $out = [ "status" => "ok", "spelling" => [ -- cgit v1.2.3