def artist(netease, name, id):
    """Download a artist's hot songs by name or id."""
    if name:
        netease.download_artist_by_search(name)

    if id:
        netease.download_artist_by_id(id, 'artist'+str(id))
Download a artist's hot songs by name or id.