def user(netease, name, id):
    """Download a user\'s playlists by id."""
    if name:
        netease.download_user_playlists_by_search(name)

    if id:
        netease.download_user_playlists_by_id(id)
Download a user\'s playlists by id.