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 9e07769 commit 741bb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -19,7 +19,7 @@ def scrape_dof(url):
n = 0
for a in row.cssselect("a"):
print(n)
print(a::attr(href))
print(a.get('href'))
n = n+1

element = row.cssselect("div")
Expand Down

0 comments on commit 741bb2a

Please sign in to comment.