from typing import Any
from typing import List


def get_name_id(parser: Any) -> List[str]:
    """Get the name and the id of the band corresponding to the html page."""
    band_name_tag = parser.find('h1', {"class": 'band_name'})
    url_band_page = band_name_tag.find('a').get('href')
    return url_band_page.split('bands/')[1].split('/')