urllib.unwrap()

urllib.unwrap(url)[source]

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