aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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