Replaced  urllib2 module with requests module