Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walinchus committed Jun 15, 2017
1 parent f61a6da commit 9838b4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scraper.py
Expand Up @@ -28,8 +28,9 @@ def scrape_table(root):
#idno=idno+1
#record['ID'] = idno
print record, '------------'
counts = root.cssselect("div.CountsContainer table")
countstotal = len(counts)
counts = root.cssselect("div.CountsContainer")
print counts.text
'''countstotal = len(counts)
print "total number of counts:", countstotal
#countsrange = range(0, countstotal+1)
#for count in countsrange:
Expand Down

0 comments on commit 9838b4d

Please sign in to comment.