Add a .gitignore
Removing unused import and fixing bad variable
Fix IndexError if no URL is provided
A few bits of PEP 8 cleanup
Wrap long line

All lines now within 120 characters.
Merge pull request #5 from dominicrodger/tidy

Tidy up a few things