From 741bb2ab6ba0d357abb4ff9a30ada4a0e19c3439 Mon Sep 17 00:00:00 2001 From: yngveny <31400411+yngveny@users.noreply.github.com> Date: Mon, 25 Sep 2017 15:50:11 +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 f398ae0..1cda564 100644 --- a/scraper.py +++ b/scraper.py @@ -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")