Skip to content

Commit

Permalink
Create scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
walinchus authored Jun 15, 2017
1 parent 4042832 commit c96753e
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 @@ -44,7 +44,7 @@ def scrape_table(root):
#for each row, loop through this
#for rownum in rowsrange:
for row in rows:
record['Crime and Outcome'] = row[0].text_content()
record['Crime and Outcome'] = row[1].text_content()
#print "scraping row", rownum
#create a list of all cells <td> in that row
'''table_cells = row.cssselect("td")
Expand Down

0 comments on commit c96753e

Please sign in to comment.