aboutsummaryrefslogtreecommitdiffstats
path: root/scraper/ddg.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2026-05-27 21:55:56 -0400
committerlolcat <will@lolcat.ca>2026-05-27 21:55:56 -0400
commitd7d35f02f30f0b113e841ec1278ea446001d095e (patch)
treecae17ad496b8c52cafe474da2b07e9187891222f /scraper/ddg.php
parent5f112737b863e5fa629cc7621e4d97cc50ab9e64 (diff)
holy shit im retarded
Diffstat (limited to 'scraper/ddg.php')
-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