get_storage_location function

Get storage location from url