Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
walinchus committed Jun 14, 2017
1 parent 231805f commit 14794a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -29,7 +29,7 @@ def scrape_table(root):
#record['ID'] = idno
print record, '------------'
charges = root.cssselect("table.Counts tr")
record['Charges'] = charges[0].text_content()
record['Charges'] = charges.text_content()
scraperwiki.sqlite.save(['Date Filed and Judge'], record)

'''rows = root.cssselect("table.Counts tr")
Expand Down

0 comments on commit 14794a8

Please sign in to comment.