ID EN
Urllib Parse

unwrap

Python 3.11

Extract the url from a wrapped URL (that is, a string formatted as , , URL:scheme://host/path or scheme://host/path). If url is not a wrapped URL, it is returned without changes.

Syntax

PYTHON
urllib.parse.unwrap(url)