Skip to content

Commit

Permalink
Update for 2019 terms
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonj04 committed May 9, 2019
1 parent f088146 commit e67df28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Expand Up @@ -12,7 +12,7 @@

CURRENT_MEMBERS_URL = 'https://democracy.leeds.gov.uk/mgMemberIndex.aspx?VW=TABLE&PIC=1&FN='
# The date past which memberships should be considered 'current'
CURRENT_DATE = dt.strptime("2018-05-03", "%Y-%m-%d")
CURRENT_DATE = dt.strptime("2019-05-06", "%Y-%m-%d")


def merge_two_dicts(x, y):
Expand Down Expand Up @@ -81,7 +81,7 @@ def scrape_member_page(id):
if memberData['lcc_id'] in lcc_id_map.people_ids:
memberData['wikidata_id'] = lcc_id_map.people_ids[memberData['lcc_id']]
else:
unreconciledPeople.append(memberData['name'] + ' (' + memberdata['lcc_id'] + ')')
unreconciledPeople.append(memberData['name'] + ' (' + memberData['lcc_id'] + ')')

# Check to see if the party is reconciled or not
if party in lcc_id_map.party_names:
Expand Down

0 comments on commit e67df28

Please sign in to comment.