Browse Source

holy shit im retarded

lolcat 2 tháng trước cách đây
mục cha
commit
d7d35f02f3
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      scraper/ddg.php

+ 3 - 3
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){