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 @@ class WeightlessBooksStore(BasicStoreConfig, StorePlugin):
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