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 13, 2017
1 parent b672f0b commit 9f9dee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -24,7 +24,7 @@ def scrape_table(root):
#if there is a cell, record the contents in our dataset, the first cell [0] in 'recipient' and so on
record['Case Style'] = table_cells[0].text_content()
record['Date Filed and Judge'] = table_cells[1].text_content()
record['Case Number'] = table_cells.xpath(//b)
record['Case Number'] = table_cells.xpath('.//b')
#this line adds 1 to the ID no. we set at 0 earlier
#idno=idno+1
#record['ID'] = idno
Expand Down

0 comments on commit 9f9dee7

Please sign in to comment.