Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomatolichy committed Sep 21, 2018
1 parent bfbbb82 commit 4766cba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scraper.py
Expand Up @@ -35,9 +35,9 @@
doc = html.fromstring(doc_text)

for row in doc.cssselect("#tblEvents tr"):
link_in_header = row.cssselect("h4 a").pop()
event_title = link_in_header.text
print event_title
link_in_header = row.cssselect("h4 a").pop()
event_title = link_in_header.text
print event_title

# # An arbitrary query against the database
# scraperwiki.sql.select("* from data where 'name'='peter'")
Expand Down

0 comments on commit 4766cba

Please sign in to comment.