str2url(value)

Parse a string into a URL ParseResult object.

This is just an alias for urllib.parse.urlparse.

Parameters:

value (str) – The URL string to parse.

Return type:

ParseResult

Returns:

The parsed URL as a ParseResult object.