diff options
Diffstat (limited to '')
-rw-r--r-- | scrapers/wallhaven.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scrapers/wallhaven.php b/scrapers/wallhaven.php index 5dbdd68..78f56c7 100644 --- a/scrapers/wallhaven.php +++ b/scrapers/wallhaven.php @@ -19,6 +19,8 @@ curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($curl); + if ($result == null) + printf("<p id='error'>Request to wallhaven.cc denied :(</p>\n"); curl_close($curl); |