Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TimLundSE26 committed Dec 13, 2017
1 parent 7fee57b commit a2508e6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions scraper.py
Expand Up @@ -13,10 +13,14 @@ def search():

print len(councillors)

councillor = councillors[0]
col1 = councillor.xpath("td")[1].strip()
councillor = councillors[1]

print col1
print councillor.strip()

# cols = councillor.xpath("td")
# col1 = councillor.xpath("td")[1].strip()

# print col1

# if len(councillors) == 0:
# return
Expand Down

0 comments on commit a2508e6

Please sign in to comment.