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 138fff4 commit e96bd79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.py
Expand Up @@ -10,7 +10,8 @@
# # Find something on the page using css selectors
root = lxml.html.fromstring(html)
for e in root.cssselect("a"):
scraperwiki.sqlite.save(unique_keys=[e.get("href")], data={"link": e.get("href")})
print(e)
#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 e96bd79

Please sign in to comment.