name_from_url

name_from_url(url: str) str[source]

Get the filename from the end of the URL.

Parameters:

url – A URL

Returns:

The name of the file at the end of the URL