Bleurgh. `requests` has a much nicer API than `urllib`. That being said, this isn't wrong; just ugly.