Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hicham20201441 committed Aug 27, 2020
1 parent e96bd79 commit 265aa29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -10,7 +10,7 @@
# # Find something on the page using css selectors
root = lxml.html.fromstring(html)
for e in root.cssselect("a"):
print(e)
print(e["href"])
#scraperwiki.sqlite.save(unique_keys=[e.get("href")], data={"link": e.get("href")})

#root.cssselect("div[class='blog-col']")
Expand Down

0 comments on commit 265aa29

Please sign in to comment.