urllib2.unwrap()

urllib2.unwrap(url)[source]

unwrap(‘<URL:type://host/path>’) –> ‘type://host/path’.