Use requests instead of urllib2.

This has the benefit of not raising an exception for 404s.
pep8 style fixes.