Store: Fix Weightless.

This commit is contained in:
John Schember 2012-07-01 13:47:23 -04:00
parent 3c5486a2ae
commit da14165c63

View file

@ -41,7 +41,7 @@ def search(self, query, max_results=10, timeout=60):
counter = max_results
with closing(br.open(url, timeout=timeout)) as f:
doc = html.fromstring(f.read())
for data in doc.xpath('//li[@id="product"]'):
for data in doc.xpath('//li[@class="product"]'):
if counter <= 0:
break