Skip to content

Commit

Permalink
add lines to save data
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbradshaw committed Jan 16, 2017
1 parent 920b75e commit 1eea648
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scraper.py
Expand Up @@ -18,5 +18,7 @@
#Editing the code and re-running solved it, as suggested at https://stackoverflow.com/questions/16721629/jenkins-returned-status-code-128-with-github
lines = root.findall('.//text[@font="3"]//b')
print lines
record = {}
for line in lines:
print line.text
record["date"] = line.text
scraperwiki.sqlite.save(['date'], record)

0 comments on commit 1eea648

Please sign in to comment.