Permalink
Browse files

Update scraper.py

  • Loading branch information...
arturop committed Jul 28, 2014
1 parent 3136104 commit 2f7c5961e0811e9ecae78e8fcd813af18b101fa8
Showing with 1 addition and 1 deletion.
  1. +1 −1 scraper.py
View
@@ -37,7 +37,7 @@ def save(title, link, description):
print url
html = scraperwiki.scrape(url)
root = lxml.html.fromstring(html)
for element in root.cssselect("tbody[class='a-normal g-print-items']"):
for element in root.cssselect("tbody"):
print "element: " + element
string = element.attrib["name"]
pieces = string.split(".")

0 comments on commit 2f7c596

Please sign in to comment.