name_from_url

name_from_url(url)[source]

Get the filename from the end of the URL.

Parameters:

url (str) – A URL

Return type:

str

Returns:

The name of the file at the end of the URL