From 205783e6450a4bf3ef49acfcd84f4ada64f783aa Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 26 Aug 2024 17:38:43 +0200 Subject: [PATCH] Adapt single image function accordingly --- application/controllers/Eqsl.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index 9c45e2388..b6e8292ac 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -318,7 +318,12 @@ class eqsl extends CI_Controller { $images = $dom->getElementsByTagName('img'); if (!isset($images) || count($images) == 0) { - echo "Rate Limited"; + $h3 = $dom->getElementsByTagName('h3'); + if (isset($h3)) { + echo $h3->item(0)->nodeValue; + } else { + echo "Rate Limited"; + } exit; }