def METHOD_NAME(data):
    data = data.decode('utf-8')
    artistdata = {}
    artist = re.search(r'artist-name" itemprop="name">\s*(.*?)\s*<', data)
    if artist:
        artistdata['artist'] = artist.group(1)
    else:
        # no discography page available for this artist
        return
    active = re.search(r'class="active-dates">.*?<div>(.*?)<', data, re.S)
    if active:
        artistdata['active'] = active.group(1)
    begin = re.search(r'class="birth">.*?<h4>\s*(.*?)\s*<', data, re.S)
    if begin and begin.group(1) == 'Born':
        born = re.search(r'class="birth">.*?<a.*?>(.*?)<', data, re.S)
        if born:
            artistdata['born'] = born.group(1)
    elif begin and begin.group(1) == 'Formed':
        formed = re.search(r'class="birth">.*?<a.*?>(.*?)<', data, re.S)
        if formed:
            artistdata['formed'] = formed.group(1)
    end = re.search(r'class="died">.*?<h4>\s*(.*?)\s*<', data, re.S)
    if end and end.group(1) == 'Died':
        died = re.search(r'class="died">.*?<a.*?>(.*?)<', data, re.S)
        if died:
            artistdata['died'] = died.group(1)
    elif end and end.group(1) == 'Disbanded':
        disbanded = re.search(r'class="died">.*?<a.*?>(.*?)<', data, re.S)
        if disbanded:
            artistdata['disbanded'] = disbanded.group(1)
    genre = re.search(r'class="genre">.*?<a.*?>(.*?)<', data, re.S)
    if genre:
        artistdata['genre'] = genre.group(1)
    styledata = re.search(r'class="styles">.*?<div>\s*(.*?)\s*</div', data, re.S)
    if styledata:
        styles = re.findall(r'">(.*?)<', styledata.group(1))
        if styles:
            artistdata['styles'] = ' / '.join(styles)
    mooddata = re.search(r'class="moods">.*?<li>\s*(.*?)\s*</ul', data, re.S)
    if mooddata:
        moods = re.findall(r'">(.*?)<', mooddata.group(1))
        if moods:
            artistdata['moods'] = ' / '.join(moods)
    thumbsdata = re.search(r'class="artist-image">.*?<img src="(.*?)"', data, re.S)
    if thumbsdata:
        thumbs = []
        thumbdata = {}
        thumb = thumbsdata.group(1).rstrip('?partner=allrovi.com')
        # 0=largest / 1=75 / 2=150 / 3=250 / 4=400 / 5=500 / 6=1080
        if thumb.endswith('f=4'):
            thumbdata['image'] = thumb.replace('f=4', 'f=0')
            thumbdata['preview'] = thumb.replace('f=4', 'f=2')
        else:
            thumbdata['image'] = thumb
            thumbdata['preview'] = thumb
        thumbdata['aspect'] = 'thumb'
        thumbs.append(thumbdata)
        artistdata['thumb'] = thumbs
    return artistdata