diff --git a/scraper.py b/scraper.py index cf52d3e..64f32c7 100644 --- a/scraper.py +++ b/scraper.py @@ -14,7 +14,8 @@ def scrape_dof(url): #line below selects all
rows = root.cssselect("div.notice-search-item") for row in rows: - print(row.text_content().encode("utf-8")) + #print(row.text_content().encode("utf-8")) + print(row.classes()) # Set up our data record - we'll need it later record = {} a = row.cssselect("a") #grab all tags within our