def METHOD_NAME(url, positions=None):
    print url, positions
    url_fr = url.replace('/en/', '/fr/')
    member_roles = []
    page = urlopen(url)
    page_fr = urlopen(url_fr)
    xml = page.read().decode('utf-8')
    xml_fr = page_fr.read().decode('utf-8')
    soup = BeautifulSoup(xml, 'xml')
    soup_fr = BeautifulSoup(xml_fr, 'xml')
    hon = soup.find('PersonShortHonorific').text
    hon_fr = soup_fr.find('PersonShortHonorific').text
    firstname = soup.find('PersonOfficialFirstName').text
    lastname = soup.find('PersonOfficialLastName').text
    for role in soup.find_all('ParliamentaryPositionRole'):
        member_roles.append({
            u'title_en': role.find('Title').text,
            u'name': firstname + ' ' + lastname,
            u'name_en': lastname + ', ' + firstname + ' (' + hon + ')',
            u'name_fr': lastname + ', ' + firstname + ' (' + hon_fr + ')',
            u'start_date': role.find('FromDateTime').text,
            u'end_date': role.find('ToDateTime').text,
        })
    i = 0
    for role_fr in soup_fr.find_all('ParliamentaryPositionRole'):
        member_roles[i]['title_fr'] = next(role_fr.children).text.capitalize()
        i += 1
    if positions:
        current_positions = [p for p in member_roles if p['title_en'] in positions and not p['end_date']]
        return current_positions
    return member_roles