Link - Requests: An alternative to urllib2 in python
Note to self.
Python’s standard urllib2 module provides most of the HTTP capabilities you need, but the API is thoroughly broken. It was built for a different time — and a different web. It requires an enormous amount of work (even method overrides) to perform the simplest of tasks. Things shouldn’t be this way. Not in Python.
Read more: Requests: HTTP for Humans — Requests 0.10.1 documentation