diff options
author | lolcat <will@lolcat.ca> | 2023-09-06 08:49:11 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2023-09-06 08:49:11 -0400 |
commit | 9fcbeb052bff5f09276d75cf9b4c2ac9109375e2 (patch) | |
tree | 1608677e6329b89ac1ac3ceb3de441985cb2f8fd /scraper | |
parent | cd98d1c69f5073fb0fd587cbc56cacd106d537e9 (diff) |
lol forgot that
Diffstat (limited to 'scraper')
-rw-r--r-- | scraper/brave.php | 6 |
1 files 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" => [ |