Skip to content

Commit

Permalink
Create scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
walinchus committed Jun 15, 2017
1 parent 4aab898 commit 4a75de6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Expand Up @@ -47,8 +47,8 @@ def scrape_table(root):
#print "scraping row", rownum
#create a list of all cells <td> in that row
table_cells = row.cssselect("td")
record['Charge Number:'] = table_cells[0].text_content()
record['Count Description:'] = table_cells[1].text_content()
record['Charges'] = table_cells.text_content()
#record['Count Description:'] = table_cells[1].text_content()
#record['Outcome:'] = table_cells[2].textcontent()
print record, '------------'
# Save the record to the datastore - 'ID' is our unique key - '''
Expand Down

0 comments on commit 4a75de6

Please sign in to comment.