Modified the location parser to use urllib2 instead of requests