habnabit/theresa-bot — pull request #4 by maggymay (2012-11-07 17:40:53+00:00)
Title: Imgur url support

Support for imgur links. I don't know if you'll find this messy, but imgur's API is fucked and returns incorrect title and caption values (the explanation for using lxml), and they have weird redirection circumstances where some pages redirect to a non-imgur.com/gallery link (the explanation for using inline callbacks).