From 28c498c5b2d57e6d2dd5c48b8ed0a5eecc2b412a Mon Sep 17 00:00:00 2001 From: yngveny <31400411+yngveny@users.noreply.github.com> Date: Mon, 25 Sep 2017 13:19:00 +0200 Subject: [PATCH] Update scraper.py --- scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper.py b/scraper.py index 9cec2e4..16f5ff4 100644 --- a/scraper.py +++ b/scraper.py @@ -14,7 +14,7 @@ def scrape_dof(url): #line below selects all
rows = root.cssselect("div.notice-search-item") for row in rows: - print row.text_content(): + print row.text_content() # Set up our data record - we'll need it later record = {} a = row.cssselect("a") #grab all tags within our