Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbradshaw committed Mar 13, 2017
1 parent 2bdec9d commit df33426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#scrape table function
def scrape_table(root):
rows = root.cssselect("table#AutoNumber2 tr") # selects all <tr blocks in <table id="AutoNumber2"
for row in rows:
for row in rows[0:-1]:
# Set up our data record - we'll need it later
record = {}
# grab all <td>s in the row
Expand Down

0 comments on commit df33426

Please sign in to comment.