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 cea3bdf commit ea11731
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.py
Expand Up @@ -20,7 +20,8 @@ def scrape_dof(url):
record = {}
a = row.cssselect("a") #grab all <a> tags within our <div>
title = a[0].text
link = a[0].link
b = row.cssselect("a:link")
link = b[0]
#print(a[0].text.encode("utf-8"))
header = row.cssselect("div.notice-search-item-header")
title2 = header[0].text
Expand Down

0 comments on commit ea11731

Please sign in to comment.