From 3aa01807741ffad103b9f6a74d878e58f2e828e8 Mon Sep 17 00:00:00 2001 From: lolcat Date: Mon, 16 Oct 2023 02:30:43 -0400 Subject: captcha and imgur, findthatmeme, yep imagesearch --- lib/curlproxy.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/curlproxy.php') diff --git a/lib/curlproxy.php b/lib/curlproxy.php index 93cdbdc..ef9085b 100644 --- a/lib/curlproxy.php +++ b/lib/curlproxy.php @@ -127,6 +127,11 @@ class proxy{ throw new Exception("Too many redirects"); } + if($url == "https://i.imgur.com/removed.png"){ + + throw new Exception("Encountered imgur 404"); + } + // sanitize URL if($this->validateurl($url) === false){ -- cgit v1.2.3