Permalink
Browse files

Update scraper.py

  • Loading branch information...
arturop committed Jul 28, 2014
1 parent 4acc7db commit 3ba86e465a66c384f560463f59086e3fe16a201f
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='itemWrapper']"):
for element in root.cssselect("tbody[class='a-normal g-print-items']"):
string = element.attrib["name"]
pieces = string.split(".")
asins.append(pieces[3])

0 comments on commit 3ba86e4

Please sign in to comment.