replace urllib with requests
This replaces the urllib library with requests.
Benefits are the better error handling, native json support and tcp connection reuse.
This replaces the urllib library with requests.
Benefits are the better error handling, native json support and tcp connection reuse.