aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2026-05-27 21:55:56 -0400
committerPinapelz <yukais@pinapelz.com>2026-05-28 11:49:25 -0700
commit7f1228d0af006cf1b36571ea7c97e0d70457aa94 (patch)
tree4760958a1ceda4cab0a39c1531b0800a31046c67
parentdd64d2836f61a7d2dd0554f08ed49e29bc8b1295 (diff)
holy shit im retarded
-rw-r--r--scraper/ddg.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/scraper/ddg.php b/scraper/ddg.php
index 188ad92..d752cb8 100644
--- a/scraper/ddg.php
+++ b/scraper/ddg.php
@@ -497,10 +497,10 @@ class ddg{
if(
isset($form["attributes"]["id"]) &&
$form["attributes"]["id"] == "challenge-form"
- )
- }{
+ ){
- throw new Exception("DuckDuckGo returned an image captcha");
+ throw new Exception("DuckDuckGo returned an image captcha");
+ }
}
foreach(array_reverse($forms) as $form){
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage