mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Adapt single image function accordingly
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user