Lint cleanup
Use urlerror instead of urllib.error