Better coding practice in Imgur downloader