'For each row in the actions table that links to a vote,
retrieve the vote object created by the scraper in add_actions
and update the vote object with the voter data.'

def add_votes(self, bill, status_page, status_url):

    (base_url, _, _) = status_url.rpartition('/')
    base_url += '/'
    status_page.make_links_absolute(base_url)
    for tr in status_page.xpath('//table')[3].xpath('tr')[2:]:
        tds = list(tr)
        if tds:
            vote_url = tds[2].xpath('a/@href')
            if vote_url:
                text = tr.itertext()
                action = next(text).strip()
                (chamber, action) = action.split('    ', 1)
                date = datetime.strptime(next(text), '%m/%d/%Y').date()
                vote_url = vote_url[0]
                chamber = actor_map[chamber]
                vote = dict(chamber=chamber, date=date, action=action, vote_url=vote_url)
                vote = self._parse_votes(vote_url, vote, bill)
                if vote:
                    (yield vote)
