'Returns a dictionary of a balancer member\'s attributes.'

def get_member_attributes(self):

    balancer_member_page = fetch_url(self.module, self.management_url)
    try:
        assert (balancer_member_page[1]['status'] == 200)
    except AssertionError:
        self.module.fail_json(msg=('Could    not    get    balancer_member_page,    check    for    connectivity!    ' + balancer_member_page[1]))
    else:
        try:
            soup = BeautifulSoup(balancer_member_page[0])
        except TypeError:
            self.module.fail_json(msg=('Cannot    parse    balancer_member_page    HTML!    ' + str(soup)))
        else:
            subsoup = soup.findAll('table')[1].findAll('tr')
            keys = subsoup[0].findAll('th')
            for valuesset in subsoup[1::1]:
                if re.search(pattern=self.host, string=str(valuesset)):
                    values = valuesset.findAll('td')
                    return dict(((keys[x].string, values[x].string) for x in range(0, len(keys))))
