Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yngveny committed Sep 25, 2017
1 parent 4e9e3c8 commit eb39dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -5,7 +5,7 @@
# create a new function, which gets passed a variable we're going to call 'url'
def scrape_dof(url):
html = scraperwiki.scrape(url)
print html
#print html
root = lxml.html.fromstring(html)
#line below selects all <div class="notice-search-item">
rows = root.cssselect("div.notice-search-item")
Expand Down

0 comments on commit eb39dd1

Please sign in to comment.